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 messagesIn Jörns API-browser you can get all documentation you need for the jquery form validation plugin.
- Jörns Demo of jquery form validation
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.
No related posts.
4 Comments
The upcoming 1.2 release of the form validation plugin will support basic AJAX validation. Its likely to evolve into a more flexible solution as soon as I get more feedback on the implementation. Yours is of course also appreciated!
A preview of that ajax validation is here: http://jquery.bassistance.de/ajax-validation/demo-test/milk/
Try to enter “asdf” or “Peter” as a username.
How can you write a form validation plugin and not implement it on your own blogs comment form?
Ben, I think you misunderstood the post, I have written an article on JavaScript Form Validation, not a plugin. This post points you to some good implementations of jQuery Form Validation.
Hello you all.
I’ve written another powerful Form Validator plugin, which you can find here: http://www.marzapower.com/blog/show/250
Please, review it and let me know what you think!
Daniele Di Bernardo´ s last blog post..jQuery Form Validator plugin
2 Trackbacks
[...] The document has moved here. [...]
[...] Your page is on StumbleUpon [...]