dilvie/h5Validate — pull request #37 by joelpurra (2012-05-12 20:35:05+00:00)
Title: Added validation when submitting an h5Validate enabled form

Imitates/emulates the native browser form submit validation procedure of Google Chrome, using h5Validate.

* Prevents the form from submitting if any invalid fields exists.
* Validates all form fields.
* Moves focus to the first invalid field.

The first feature needs to be enabled for the other two (optional) features to execute. All three are enabled by default, see documentation and options. Included a bunch of tests; please execute them to confirm the functionality.