Lightweight jQuery Form Validation Plugin: Happy.js
3
Sep
// php the_time('Y') ?>
There are various form validation plugins for jQuery and very good ones exist between them.
Many of them have lots of features and, if you are looking for a simplistic one, Happy.js can be a good alternative.

The plugin is lightweight and supports few input validations by default (required, date, number, e-mail, min/max and phone number). But it can be extended so easily by adding few lines and the regex for the rule you want.
Its styling in case of an error is smartly thought. Any non-validated elements get a custom class. Also, a <span> element is added for each non-validated item so that an error text can be displayed.
And, Happy.js works with Zepto.js as well.
Requirements: jQuery or Zepto
Compatibility: All Major Browsers
Website: http://happyjs.com/
Download: https://github.com/andyet/Happy.js
Compatibility: All Major Browsers
Website: http://happyjs.com/
Download: https://github.com/andyet/Happy.js
- Tags:
Validation
- Filed under: Forms, Goodies, MIT License
- 0 Comments
Leave a reply











