I was wondering if someone could tell me what the javascript would be to validate a field to exclude certain numbers. I want to exclude CT zip codes. So any zip code entered into the form field beginning with “06” would be validated. The user would see an error message and wouldn’t be able to submit the form.
Anyone know how to modify this script to achieve the above?
https://gist.github.com/markwainwrigh…
Many thanks to whoever can answer.