I have a Zend Form with a subform which only is shown when the user selects a specific checkbox. Some of the fields in the subform are required IF the checkbox is selected, otherwise, the fields in that subform should be ignored by IsValid.
What would be the way to go here?