|
-
Feb 23rd, 2004, 05:40 AM
#1
Thread Starter
Fanatic Member
Number Validation
I have a text filed and on submitting the field I just want to check to ensure it is a number.
Either floating point or integer.
"12.9", "10000"
Hmmmmm
I'm and idiot, I know.
-
Feb 23rd, 2004, 12:24 PM
#2
PowerPoster
Use a CompareValidator.
Set the Operator property to DataTypeCheck
Set the type to whatever you need, probably double or currency.
-
Feb 23rd, 2004, 04:02 PM
#3
Frenzied Member
Or you could use the IsNumeric function, but Hellswraith's way saves a trip to the server, by doing it client-side.
Being educated does not make you intelligent.
Need a weekend getaway??? Come Visit
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|