jQuery Form Validation Plugin
Make sure you have read my in-depth article on how you should implement JavaScript Form Validation as best practice.
I belive that jquery form validation is something that should be put into the core of jQuery UI or other software package that further enhance the UI with jQuery, maybe the integration of jQuery into .NET or jQuery on Zend Framework 1.7 will enable jQuery driven form validation. A couple of weeks ago I started myself to implement an unobtrusive form validation script named jform, based on jQuery, unfortunately I have not had the time to keep up the work on the script (two kids takes time from writing code in your "spare time"). But as I feel the need for a script that works out of the box without any particular configuration, I will probably start focusing on the script whenever I happens to find an hour or two to spend on the script.
jQuery Form Validation Plugins
Below I will compile a list of good validation plugins running on top of jQuery.
jQuery Form Validation Plugin by MarzaPower
jQuery Form Validation Plugin by Jörn Zaefferer
Masked Input Plugin for jQuery by digitalBush.com
Updates on jQuery Form Validation
2007-03-30
I have written a piece on JavaScript Form Validation in general today, I will add a section on jQuery form validation is specific. Go there to read more about javascript form validation.
2007-03-07
- Jörn Zaefferers jquery form validation plugin has gone beta today.
Most notable new features:
- dependency checking: The required method accepts both
jQuery-expressions and functions to compute whether a field is required
or not
- customizing error message handling: From doing it all yourself (and
still delegating to the default handler) to customizing the placement of
generated error messages
In Jörns API-browser you can get all documentation you need for the jquery form validation plugin.
2006-08-23
- Will Jessup has a nice example of form validation with jquery.
Original Post
A really nice jQuery form validation plugin can be found at Jörn Zaefferers Blogfuzz.bassistance.de. I have been looking for a good jquery validation plugin for of forms, maybe this plugin is fit for combining with a server side form validation plugin for smarty. Of course a business-rules integration also can be made using jquery ajax calls against an server exposed api.
Read or full length article on Form Validation with JavaScript.
Even more articles like this can be found on the section where we discuss front end architecture.