-- Rohit83 <[EMAIL PROTECTED]> wrote
(on Friday, 20 June 2008, 05:46 AM -0700):
> I have developed one form which contains one radio element of Zend_Form
> having two options lets say 'Yes' and 'No'.
> Now if i click on 'Yes' option then i want to apply validations on elements
> below that radio element and
> vice versa.
> Can anybody suggest me the way??
> Thanks in advance.......
Yes, you want to look at the section entitled 'Validation Context' in
the link below:
http://framework.zend.com/manual/en/zend.form.elements.html#zend.form.elements.validators
--
Matthew Weier O'Phinney
Software Architect | [EMAIL PROTECTED]
Zend Framework | http://framework.zend.com/