Closed Thread Icon

Topic: Numeric Input only - textboxes Pages that link to <a href="https://ozoneasylum.com/backlink?for=9619" title="Pages that link to Topic: Numeric Input only - textboxes" rel="nofollow" >Topic: Numeric Input only - textboxes\

 
Author Thread
tryst
Obsessive-Compulsive (I) Inmate

From: Wales
Insane since: Apr 2003

posted posted 04-09-2003 14:29

Hi, all, how to I make textboxes (within a form) to only accept numeric values that are entered through the keyboard??

Cheers in advance

Tryst

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 04-09-2003 14:51

tryst: You'd need to do some kind of validating. You could check the input with JavaScript (either as it is being entered on when it is submitted):

:FAQ: How do I do form validation with JavaScript?

Or you could use some server-side scripting e.g.:

:FAQ: How do I do form validation with PHP?

:FAQ: How do I do form validation with Perl?

___________________
Emps

FAQs: Emperor

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 04-09-2003 18:14

As this is now being dealt with here:
www.ozoneasylum.com/Forum12/HTML/001352.html

I'll shut this one.

___________________
Emps

FAQs: Emperor

« BackwardsOnwards »

Show Forum Drop Down Menu