Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


password validation

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,264
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> password validation
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 password validation - 7/11/2001 10:47:20 AM   
  Therarez

 

Posts: 12
Score: 0
Joined: 5/22/2001
From: Mexico
Status: offline
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,
"[\/:*?"<>|]") > 0 THEN but it does not work. Any suggestion?
 
 
Post #: 1
 
 Re: password validation - 7/11/2001 10:52:48 AM   
  varcesi

 

Posts: 12
Score: 0
Joined: 5/23/2001
From: Italy
Status: offline
You were on the right track, but it thinks your looking for an exact
match of : "[\/:*?"<>|]" -- 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!

(in reply to Therarez)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> password validation Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts