Really easy field validation
Posted on 1st March, by max in Code. Comments Off
Here’s a form validation script that is very easy to use. The basic method is to attach to the form’s onsubmit event, read out all the form elements’ classes and perform validation if required. If a field fails validation, reveal field validation advice and prevent the form from submitting.
Website: http://tetlaw.id.au/view/javascript/really-easy-field-validation