Martin Martinov-2 wrote: > > However, I believe that the recommended way of doing this is by > creating a custom validator and utilizing the $context parameter. >
I second Martin's suggestion. I wrote up how I dealt with this at http://www.jeremykendall.net/2008/12/24/conditional-form-validation-with-zend_form/ Good luck. ----- Jeremy Kendall -- http://www.jeremykendall.net http://www.jeremykendall.net -- View this message in context: http://www.nabble.com/Zend-Form---Setting-element-required-based-on-a-condition-tp21605109p21608829.html Sent from the Zend Framework mailing list archive at Nabble.com.