Welcome Guest, Not a member yet? Register   Sign In
Form Validation and password change?
#1

[eluser]Treeda[/eluser]
Hi Folks,

I've liked the new form validation class very much, but with the time i stumble over more and more problems.

I'm facing currently a small problem and curious about if anyone has a good solution.

Imagine a form displaying the users profile which allows to change the password.

so you have the following 3 fields (addiotional to all the other fields of the profile):
Current password
New password
New password (repeat)

how would you setup the rules for that?
I need to tell, the new password should only be set IF the user enteres something into it. As long as the user lets "current password" empty, nothing happens.

Any ideas?


Messages In This Thread
Form Validation and password change? - by El Forum - 03-14-2009, 03:03 PM
Form Validation and password change? - by El Forum - 03-14-2009, 03:07 PM
Form Validation and password change? - by El Forum - 03-14-2009, 03:10 PM
Form Validation and password change? - by El Forum - 03-14-2009, 03:36 PM
Form Validation and password change? - by El Forum - 03-14-2009, 04:07 PM



Theme © iAndrew 2016 - Forum software by © MyBB