Re: comparing password and confirm password

2005-01-23 Thread Isteyaque Zahur
Hi Check out this link: http://www.raibledesigns.com/page/rd/20030226 thks Isteyaque On Sat, 22 Jan 2005 00:51:53 -0600, Kishore Senji <[EMAIL PROTECTED]> wrote: > Use "validWhen" and you conditional can be > > (*this* == password) to evaluate whether password2 is equal to password always > (

Re: comparing password and confirm password

2005-01-21 Thread Kishore Senji
Use "validWhen" and you conditional can be (*this* == password) to evaluate whether password2 is equal to password always ((password == null) or (*this* == password)) to evaluate whether password2 is equal to password only when password is not empty Please take a look http://struts.apache.org/use

Re: comparing password and confirm password

2005-01-21 Thread Mike Deegan
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 exa