dcsimg
Struts Validation for Retype Password
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Harsh_Sugandhi
Posted On:   Thursday, May 27, 2004 04:37 AM

Hi!

I am trying to write a struts validation for a retype passowrd field. Valiation must be like password and retype-password must match.

I am not being able to find any way to write the validation.
Is there any way that we can do this by struts validator? Or I need to use Java script instead for this?

Thanx in advance.
Harsh.

Re: Struts Validation for Retype Password

Posted By:   rahul_deshmukh  
Posted On:   Thursday, May 27, 2004 05:24 AM

This is possible using struts as well as with javascript.
I would prefer to have client side validation though. Like using javascript functions for just compairing the string values for both text field and adding approprite prompt to user for password mismatch


Thanks
About | Sitemap | Contact