validwhen - validator for checking one field against another.
see section titled Designing "Complex Validations with validwhen".

http://struts.apache.org/userGuide/dev_validator.html

"[Since Struts 1.2.0] A frequent requirement in validation design is to validate one field against another (for example, if you have asked the user to type in a password twice for confirmation, to make sure that the values match.) "


----- Original Message ----- From: "Kalluru Uma. Maheswar" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Friday, January 21, 2005 11:10 PM
Subject: comparing password and confirm password



Hi, How do I validate if the user has entered password and confirm password the same? How to do this in validate.xml file?

Thanks
Uma

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to