IsNumeric Function

2000-12-15 Thread Greg Wolfinger
Hey Guys/Gurls: I am trying to do some server side validation for a phone number, but I am running into an odd problem. I split the phone number entry form into three textboxes the first one for area code (ie must be 3 numbers) and then the two parts of the phone number (ie must be 3 numbers

RE: IsNumeric Function

2000-12-15 Thread Dan Haley
the isNumeric function is processing a string of "attributes.custPhone1" rather than the value of the variable attributes.custPhone1. Or so I understand it to be . . . :^) Dan -Original Message- From: Greg Wolfinger [mailto:[EMAIL PROTECTED]] Sent: Friday, December 15, 2000 8:36 AM T

RE: IsNumeric Function

2000-12-15 Thread Patricia Lee
What does your error say? -Original Message- From: Greg Wolfinger [mailto:[EMAIL PROTECTED]] Sent: Friday, December 15, 2000 11:36 AM To: CF-Talk Subject: IsNumeric Function Hey Guys/Gurls: I am trying to do some server side validation for a phone number, but I am running

Fw: IsNumeric Function

2000-12-15 Thread Bill Davidson
Maybe its a operator precedence problem. Try doing if (IsNumeric(...) is false) or (...) or (...). -Bill /intraget - Original Message - From: Greg Wolfinger [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Friday, December 15, 2000 11:36 AM Subject: IsNumeric Function Hey Guys

Re: IsNumeric Function

2000-12-15 Thread Jamie Keane
Wolfinger [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Date: Friday, December 15, 2000 12:28 PM Subject: IsNumeric Function Hey Guys/Gurls: I am trying to do some server side validation for a phone number, but I am running into an odd problem. I split the phone number entry form into three

Re: IsNumeric Function

2000-12-15 Thread Greg Wolfinger
hird variable worked with the quotes around the variable name. -Greg - Original Message - From: "Patricia Lee" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Friday, December 15, 2000 12:41 PM Subject: RE: IsNumeric Function What does your error say? -Orig

Re: IsNumeric Function

2000-12-15 Thread Joel Firestone
One way I found useful was to use JavaScript on the client-side to test if they were numbers or not. Then you know only numbers are being submitted. J : I am trying to do some server side validation for a phone number, but I am running into an odd problem. I split the phone number entry form

Re: IsNumeric Function

2000-12-15 Thread Greg Wolfinger
cember 15, 2000 2:09 PM Subject: Re: IsNumeric Function One way I found useful was to use JavaScript on the client-side to test if they were numbers or not. Then you know only numbers are being submitted. J : I am trying to do some server side validation for a phone number, but I am running

Re: IsNumeric Function

2000-12-15 Thread Gilles Ratté
ot; [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Friday, December 15, 2000 2:09 PM Subject: Re: IsNumeric Function One way I found useful was to use JavaScript on the client-side to test if they were numbers or not. Then you know only numbers are being submitted. J : I am tryi

Re: IsNumeric Function

2000-12-15 Thread Nathan Chen
I agree with Joel. Using JavaScript to process on the client side is fast and doesn't need to hit the CF server. I always use this to check numeric value: ( I am sure many of you already know how to do this, but I am posting it for those who might not know.) === script

Re: IsNumeric Function

2000-12-15 Thread Kevin Miller
This is a good first check, but I would never blindly trust any sort of client-side data validation. This is just inviting hackers to have a field day. Kevin [EMAIL PROTECTED] 12/15/00 03:04PM I agree with Joel. Using JavaScript to process on the client side is fast and doesn't need to hit