Form Validation With Class

Juicy Studios have written an intelligent way to validate forms: by using the DOM and simply applying a class to a form element based upon the validation rules you want to run on it.

So basically, using the script provided, you can validate an email address field by applying class=”email” for the input field.

Read the full story…

Advertisements