hwg-basics archives | Jun 2002 | new search | results | previous | next |
validating zip code problemby Thomas Rumley <trumley(at)softhome.net> |
|
Hi All ; I've got a question that may be a bit off base. It's on JavaScript instead on html. I'm trying to validate a zip code. Hoever, each time a non-numeric character is tested it's going right past my checks. I test to see if it's < 0 or > 9 using two different tests. The page is at: http://www.aboveboardlinks.com/sitehelp/javascript/formhandling.html The coding that I'm using is in a green box at the bottom of the page. I would really appreciate some help if you can. Please don't refer me to another page without telling me what I've done wrong with this on! Thanx. Thomas
HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA