Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Enterting Password twice to verify it's what they want...how?

Status
Not open for further replies.

bluecat11

MIS
Nov 10, 2002
6
US
I have a submission page that asks users to choose a username and password. On the password I have it so they can enter it twice so I'm sure that's what they want. It's also encrypted so it only shows **** when they they enter it. However, how do I make it tell them "You're passwords don't match" or "Your passwords are not the same?" Thank you.
 
In VBScript:

If txtPassword1.Text <> txtPassword2.Text Then
Alert(&quot;Passwords do not match!&quot;)
End If

Rob
Just my $.02.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top