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
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
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
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
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
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
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
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
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
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
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
11 matches
Mail list logo