datadoit.com
|
Posted: 04/13/2004, 1:17 PM |
|
CCS2; PHP4; MySQL
I was surprised that I couldn't find an example for this. Any sample out
there or tips for creating a simple password change form?
Old Password:
New Password:
Confirm New Password:
[Submit]
I started off on this, but lost in myself on the validations, when or what
to write, etc. Thanks.
-MikeR
|
|
|
Tam
|
Posted: 07/06/2004, 12:00 PM |
|
I solved this problem in ASP before, so I hope it will help you a bit.
I created a textbox named password_confirmed, on its On Validate events, I put
If member.password_confirmed.Value <> "" Then
If member.password_confirmed.Value <> member.password.Value Then _
member.password_confirmed.Errors.addError("Password Confirmed is not same as Password.")
End If
You convert the syntax to PHP and try it. If it works, let me know. Thanks.
|
|
|
|