>> 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 >
Thanks. How about assigning specific error message to each validator? -- ======================= Registered Linux User #460714 Currently Using Fedora 8, 10 =======================
