[jQuery] Release: Validation plugin 1.2
Hi,
I'm proud to present the 1.2 releaseo of my validation plugin. On the
changelog we have:
* Added AJAX-captcha validation example (based on
http://psyrens.com/captcha/)
* Added remember-the-milk-demo (thanks RTM team for the permission!)
* Added marketo-demo (thanks Glen Lipka!)
* Added support for ajax-validation, see method "remote"; serverside
returns JSON, true for valid elements, false or a String for invalid,
String is used as message
* Added highlight and unhighlight options, by default toggles errorClass
on element, allows custom highlighting
* Added valid() plugin method for easy programmatic checking of forms
and fields without the need to use the validator API
* Added rules() plguin method to read and write rules for an element
(currently read only)
* Replaced regex for email method, thanks to the contribution by Scott
Gonzalez, see http://projects.scottsplayground.com/email_address_validation/
* Restructured event architecture to rely solely on delegation, both
improving performance, and ease-of-use for the developer (requires
jquery.delegate.js)
* Moved documentation from inline to
http://docs.jquery.com/Plugins/Validation - including interactive
examples for all methods
* Removed validator.refresh(), validation is now completey dynamic
* Renamed minValue to min, maxValue to max and rangeValue to range,
deprecating the previous names (to be removed in 1.3)
* Renamed minLength to minlength, maxLength to maxlength and rangeLength
to rangelength, deprecating the previous names (to be removed in 1.3)
* Added feature to merge min + max into and range and minlength +
maxlength into rangelength
* Added support for dynamic rule parameters, allowing to specify a
function as a parameter eg. for minlength, called when validating the
element
* Allow to specify null or an empty string as a message to display
nothing (see marketo demo)
* Rules overhaul: Now supports combination of rules-option, metadata,
classes (new) and attributes (new), see rules() for details
In other words: Remote validation is now possible and very easy to use.
Overall performance has increased a lot, and dynamic forms work by
default, no extra setup or API calls necessary.
The documentation is now completely moved to the docs.jquery.com wiki,
featuring interactive examples for all validation methods.
Official plugin page: http://plugins.jquery.com/project/validate
Old plugin page:
http://bassistance.de/jquery-plugins/jquery-plugin-validation/
Demos: http://jquery.bassistance.de/validate/demo/
Documentation: http://docs.jquery.com/Plugins/Validation
If you have an questions about the plugin, please post to this list and
put [validate] into the subject. For bug reports, please use the jQuery
bug tracker (http://dev.jquery.com/newticket) and put [validate] into
the title of the new ticket.
Thanks for your attention
Jörn