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
PS it also has to be exactly four digits long
Any help would be appreciated thanks
Comment