useful.form.js leverages the new HTML5 form-related updates to provide a more modern approach to validating Web forms.
The library is capable of validating all the data entered in a form's fields on the client's side, from where it encodes it in a XML file and sends it to a PHP file on the server for further processing.
If any errors are found they are immediately printed on the page, with red text underneath the form and with popups next to the form fields themselves.
As the fields are corrected the errors are also automatically removed in real-time, and when everything is ready the user can resubmit his form.
A demo including client & server-side validation is included with the download package.
Requirements:
- JavaScript enabled on client side
Comments not found