Re: How to check a password is only alpha characters?

2000-08-08 Thread Deanna L. Schneider
Michael, There's a nifty custom tag in the allaire gallery called restricttextinput that will do what you're needing with javascript prior to their even submitting the form. You can indicate alpha, numeric, or alphanumeric, as well as indicating additional allowed characters. -Deanna

RE: How to check a password is only alpha characters?

2000-08-08 Thread Rick Osborne
!--- Eliminate anything that isn't alphanumeric, then check to see if it's the same thing --- CFIF REReplace(newpassword1,"[^a-zA-Z0-9]","","ALL") IS newpassword1 !--- ... --- /CFIF But, as Perl says, there's more than one way to do it ... -Rick -Original Message- From: [EMAIL

RE: How to check a password is only alpha characters?

2000-08-08 Thread Bill Killillay
And if the user turns off JavaScript, what then? -Original Message- From: Deanna L. Schneider [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 08, 2000 9:23 AM To: [EMAIL PROTECTED] Subject: Re: How to check a password is only alpha characters? Michael, There's a nifty custom

Re: How to check a password is only alpha characters?

2000-08-08 Thread Deanna L. Schneider
Well, yah, you have a point there. -d Deanna Schneider Interactive Media Developer UWEX Cooperative Extension Electronic Publishing Group 103 Extension Bldg 432 N. Lake Street Madison, WI 53706 (608) 265-7923

Re: How to check a password is only alpha characters?

2000-08-08 Thread JustinMacCarthy
Much better to do cfif REFind("^[a-zA-Z0-9]*$", password ) ~Justin !--- Eliminate anything that isn't alphanumeric, then check to see if it's the same thing --- CFIF REReplace(newpassword1,"[^a-zA-Z0-9]","","ALL") IS newpassword1 !--- ... --- /CFIF But, as Perl says, there's

RE: How to check a password is only alpha characters?

2000-08-07 Thread Scott, Andrew
You might try writing a Regular Expression for this:-) -Original Message- From: Michael Kear [mailto:[EMAIL PROTECTED]] Sent: 08 August 2000 14:54 To: [EMAIL PROTECTED] Subject: How to check a password is only alpha characters? Uh oh. I just bit off more than I can chew here I think.

RE: How to check a password is only alpha characters?

2000-08-07 Thread Michael Kear
Yes, that's my problem Scott, I was asleep when they covered that in class. Or not concentrating. Or it was beyond my aging brain to grasp. (Shame on me -so now I'm up the proverbial creek. And the guy with the paddle is in the other boat.) So I guess what I'm asking is, what Regular

Re: How to check a password is only alpha characters?

2000-08-07 Thread Ken Saito
Hello, --- At Tue, 8 Aug 2000 15:07:51 +1000 (EST), Michael Kear wrote in RE: How to check a password is only alpha characters? --- So I guess what I'm asking is, what Regular Expression do I use? script language=javascript type="text/javascript" function _check(){ if