Force input (textbox) to accept only floating point values

How would I capture keystrokes in a textbox such that only numbers or ONE  " . " is allowed, and nothing else?

If someone has source code or a website on this...grand!!!!

In the meantime I will google it.
LVL 5
Tom KnowltonWeb developerAsked:
Who is Participating?
 
leakim971PluritechnicianCommented:
0
 
Tom KnowltonWeb developerAuthor Commented:
Perfect...exactly what I was looking for...and more!
0
 
Tom KnowltonWeb developerAuthor Commented:
thx
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.