[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?