newbie
|
Posted: 01/28/2004, 2:36 AM |
|
Trying to get to grips with the demo. impressed so far.
I want my user table to have a field for 'password' and another 'confirm password' - how do I set up a verification to ensure the user enters the same password?
|
|
|
Edd
Posts: 547
|
Posted: 01/28/2004, 3:49 AM |
|
Create one field as the password (Database Column pointing to the password field) create another which is a Code Expression.
Create a verification event on the form and compare the 2 fields, if they don't match then post and error e.g.
FormName..Errors.AddError "Passwords Don't Match"
and that's it
You might want to do trims and case checking befor the match but you get the idea.
_________________
Accepting and instigating change are life's challenges.
http://www.syntech.com.au |
|
|
peterr
Posts: 5971
|
Posted: 01/28/2004, 8:29 PM |
|
Note that you can also do this using JavaScript in your HTML: http://www.google.com/search?q=javascript+verify+password
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
|
|