A custom validator is probably the best way. You can also remove a validator before you call isValid. - pw
On Tue, Sep 29, 2009 at 9:48 PM, Leon_L <[email protected]> wrote: > > Hi, I'm new to Zend Framework, I have a question is that if I have two > Zend_Form_Element_Text in a form, and I want make either of them to be > filled by the user. > > For example, phone number and mobile number. People only need enter one of > them to continue. > > How am I going to do this? Thanks > > -- > View this message in context: > http://www.nabble.com/How-to-set-either-Zend_Form_Element_Text-required--tp25674976p25674976.html > Sent from the Zend Framework mailing list archive at Nabble.com. > >
