User Profile
Collapse
-
ok, but now when i click submit with only numbers in the textbox, it still shows the dialog saying you must enter digits only -
isNaN function on a textbox in a form
I am using HTML and JS to make a form, but one of the text boxes needs to validate that it will only accept digits as it is for a number, but I can't figure out how to do this with the isNaN function.
PS it also has to be exactly four digits long
Any help would be appreciated thanks
No activity results to display
Show More
Leave a comment: