RE: Javascript for invalid CF characters

2002-04-18 Thread Matthew R. Small
I'm glad to have helped you. -Original Message- From: Frank Mamone [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 18, 2002 11:37 AM To: CF-Talk Subject: Re: Javascript for invalid CF characters Thanks Matt! Worked great. - Original Message - From: "Matthew R. Smal

Re: Javascript for invalid CF characters

2002-04-18 Thread Frank Mamone
Thanks Matt! Worked great. - Original Message - From: "Matthew R. Small" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, April 18, 2002 10:31 AM Subject: RE: Javascript for invalid CF characters > Try something like this: > &g

RE: Javascript for invalid CF characters

2002-04-18 Thread Matthew R. Small
Try something like this: onchange="if (this.value.search(/[^a-zA-Z0-9]/) != -1) {this.value = ''; return;}" This will determine if there are any non-alphanumeric characters in the string and destroy the entire string if there are, once the string changes. - Matt Small -Original Messag