I have the following code:
This tests that something exists. What I'd like to do is alter this to test that 5 numbers(zipcode) and only 5 numbers are entered. Can anyone help?Code:// check for zip if (document.form1.zip.value == "") { invaliddata += "\n - Zip is missing."; }





Bookmarks