struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Husted" <ted.hus...@gmail.com>
Subject Re: validate two password fields,how?
Date Fri, 21 Apr 2006 11:46:00 GMT
Yes, you can use "validwhen" for this:

* http://struts.apache.org/struts-doc-1.2.9/userGuide/dev_validator.html#validwhen

HTH, Ted.

On 4/21/06, Zheng Wen Zhe <zwenzhe@espatial.com> wrote:
> Hey all,
> I have two password fields, and I wanna validate those two fields containing
> same data.
> Is there any key word, I could use (like 'required')? Or I have to add a new
> javascript in validator-rules.xml?
>
> Regards,
>
> Jason

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


Mime
View raw message