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!

password validation

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi I would like to use vbscript to valid user's password when they sign up for a user name. I cannot accept special characters and how do I do that? I tried: IF instr(document.RegForm.passwd.value, &quot;[\/:*?&quot;<>|]&quot;) > 0 THEN but it does not work. Any suggestion?
 
You were on the right track, but it thinks your looking for an exact match of : &quot;[\/:*?&quot;<>|]&quot; -- which, chances are, you won't find --

Probably just do a little subroutine that checks for them one by one -- and have it return a value that indicates the result.

good luck! :)
Paul Prewett
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top