Hi Deepak,

On Wed, Feb 4, 2009 at 8:57 AM, Deepak Shrestha <[email protected]> wrote:

>
> What I actually wanted to do is:
> *****************************************
> Empty string will be checked first and shown error message ignoring
> other validators. So if the string is empty show the error message for
> empty string validator and exit from validator chain ignoring other
> validators in the sequence. But it seems all validators are active
> each time.
> *****************************************
> 1. how do I do that?



You want to set the second argument of ->addValidator() to "true".



-- 
A.J. Brown
web | http://ajbrown.org
phone | (937) 660-3969

Reply via email to