commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton" <niall.pember...@gmail.com>
Subject Re: Validator Question
Date Tue, 18 Dec 2007 13:03:54 GMT
On Dec 18, 2007 8:28 AM, Sanjay Goel <sanjay.goel@gmail.com> wrote:
> Hi,
> I have a validation of 2 fields of my form. Currently I have written it in
> javascript as:
>
>         if(prg.value == "ARH" && educationLevel.value != "MFA"){
>             return false;
>         }
>
> Does commons validator has any predefined validator that can take care of
> this type of case for both client and server side?

Commons validator has nothing that handles this. Struts has a couple
of validators (requiredif, validwhen) that does server side only.

Niall

> Also, I can't find any good documentation of commons validation on the net
> other than the apidocs on the commons validator site. If there is any good
> documentation available, can somebody point me to that.
>
> Thanks
> Sanjay Goel
> http://sanjaygoel.blogspot.com
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message