This topic is locked
[SOLVED]

 vadidate password

9/18/2004 4:19:01 AM
ASPRunnerPro General questions
E
ekopelowitz author

Sergei, I'd like to create an interface for user to create a password. I can do this by setting up an asprunner _add interface with the users table. However, after user puts in user adn the password, I'd like him to type in the password a second time and that the first and second occurances of the password match. I would need an addtional password field the contents of which must be identical to the first password field. Any suggestions?

Sergey Kornilov admin 9/20/2004

Ezra,
I guess you can modify ..._add.asp page created by ASPRunner to add second password field. Also you will need to add Javascript validation similar to what ASPRunner uses currently to check if both fields content is the same.
This sounds like a nice idea to add to ASPRunner.

E
ekopelowitz author 9/20/2004

Sergei can you tell me what the code that does the validation looks like. I guess that I'll set up a page that uses validation and then find it and try and play with the code to get it to compare between the two fields. This is not something I can do by myself, if you have suggestions as to how to do it, I'd appreciate it.