i know abt validation context. but when there is no value, validation does not trigger. same as what happened in the link u gave...
Eugene Morgan wrote: > > Look in the *Zend_Form_Element* *validators* documentation, and search for >> the phrase "*validation* *context*" > > See this post for more info: > http://www.nabble.com/Zend_Form-and-elements-chain-validation-td22083142.html > > On Thu, May 14, 2009 at 2:53 AM, iceangel89 <[email protected]> wrote: > >> >> i want to validate an item as required only if a checkbox is checked. do >> i >> need to use a custom validator or is there a way to do this? >> -- >> View this message in context: >> http://www.nabble.com/Validation-only-if-a-form-element-is-true-%28checkbox%29-tp23535945p23535945.html >> Sent from the Zend Framework mailing list archive at Nabble.com. >> >> > > -- View this message in context: http://www.nabble.com/Validation-only-if-a-form-element-is-true-%28checkbox%29-tp23535945p23569177.html Sent from the Zend Framework mailing list archive at Nabble.com.
