I'm having a problem with creating a custom validator for use with Zend Form. I'm trying to utilize context to create a validator that will require an 'Other' text field if a certain radio element option is selected.
For example, I have a radio element with multiple options, including an option named 'Other.' If 'Other' is selected, the text field named 'Other' is required. I've tried multiple approaches to the problem and haven't been able to come up with a validator that works. Would anyone be willing to provide an example of a validator that would address this issue? ----- Jeremy Kendall -- http://www.jeremykendall.net http://www.jeremykendall.net -- View this message in context: http://www.nabble.com/Zend-Form%2C-context%2C-and-custom-validation-tp15811842s16154p15811842.html Sent from the Zend Framework mailing list archive at Nabble.com.
