Check Password while registering
Basically what I want to do is to have the user when he/she registers is input their password and a confirmation password and have them checked against eachother before they are inserted into the database. I thought that I had found a way to do that; however, it didnt' work and wouldn't print the error I wanted. A tutorial on that would be great seeing as how it's probably one of the easiest things in the world.
Comments
use VBscript to compare 2 values
I think you can compare the 2 passwords entered with the VBscript operator ls.
example:
pass1 = request.form("pass1")
pass2 = request.form("pass2")
if pass1 ls pass2 = true then
'passwords are the same, your code here
else
'your errorcode here
end if
You must me logged in to write a comment.