I am trying to create a form that has a set of radio buttons marked Yes and No and a text field.
I would like the text field to be required only when the Yes option is selected for the radio's. If I attach custom validation to the radio buttons, I can get an error to occur like I want, but the error is displayed under the radio's instead of the text field. I have been unable to get any validation to work on the text field if isRequired is not set. Is there any way to get the validation rules setup so that the text field is only required when the condition is met? or is there a way to tell Zend_From where to display its error? -- View this message in context: http://www.nabble.com/Conditional-Validation-tp16364221p16364221.html Sent from the Zend Framework mailing list archive at Nabble.com.
