Hi I did register form in with zend form
$password = new Zend_Form_Element_Password('password'); $password->setLabel($this->_translate->_("Password:")) ->setRequired(true) ->addValidator('stringLength', true, array(4, 32)); $confirmPassword = new Zend_Form_Element_Password('confirmpassword'); $confirmPassword->setLabel($this->_translate->_("Confirm Password:")) ->setRequired(true);
I control password and confirmpassword in controller. if password and confirmpassword don't match then add error message under confirmpassword textbox. how i do?
Name (required)
Mail (will not be published) (required)
Website