In my form, I\'m trying to verify that the user fills in the same value both times (to make sure they didn\'t make a mistake). I think that\'s what Zend_Validate_Identical
Zend_Validate_Identical
$token = Zend_Controller_Front::getInstance()->getRequest()->getPost('password'); $confirmPassword->addValidator(new Zend_Validate_Identical(trim($token))) ->addFilter(new Zend_Filter_StringTrim()) ->isRequired();
Use the above code inside the class which extends zend_form.