Script of the Day: quickValidation.js

jQuery plugin for complex client-side form validations

By on December 25th, 2012 17:01 GMT

Whilst in the past creating contacts forms would have been a terribly difficult task, these days, thanks to scripts like quickValidation.js this has become a lot more easier, and even stress-free.

quickValidation.js is actually a plugin written for the jQuery JavaScript framework, and will validate form data on the client-side before submitting it to the server.

Compared to other similar plugins, quickValidation.js is extremely easy to use and supports a plethora of validation methods, along with error notifications.

Only input text fields and textareas can be validated, but as Nik Korablin, the plugin's developer explained, checkboxes and radio buttons don't really need to be validated because they can have default values.

From required fields, to numbers, integers, phone numbers and up to email addresses, quickValidation.js supports many validation rules, and with a little hard-coding, custom rules can be added with ease.

Check out a demo of quickValidation.js here. If anyone is interested, the project's development is now handled via a GitHub account.

Download quickValidation.js from our Scripts section here.

Comments