struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "The Jasper" <thejas...@gmail.com>
Subject Re: Struts Validator: form value1 < form value2
Date Thu, 22 Jun 2006 07:59:04 GMT
hi,
the validwhen validator can do what you want.

mvg,
Jasper

On 6/22/06, Truong Xuan Tinh <tinh.truong@pyramid-consulting.com> wrote:
> Hi there,
> You can write a custom validator in Struts to do that, it's rather easy,
> both client-side and server-side. Open the jar of commons-validator to
> see some script for existed validation rule should help.
> Regards.
> Tinh
> Jeremy Nix wrote:
> > How can I use the Struts Validator to enforce the above rule?  Neither
> > of the fields are required, but if both are given, they must adhere to
> > the given rule.
> >
> >
> >
> > Thanks for any help,
> >
> >
> >
> > _________________________
> >
> > Jeremy Nix
> >
> > Senior Application Developer
> >
> > Southwest Financial Services, Ltd.
> >
> > (513) 621-6699 x1158
> >
> >
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

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


Mime
View raw message