Javascript provides the isNaN to determine if the user input is number or not. Below is my code for my form, you need to do some modification to it.
Code:if (isNaN(document.form_name.zip.value)) { alert("Zip code must be numbers only.") form_name.zip.focus(); return false; }




Reply With Quote