Home arrow JavaScript arrow Checking Online Forms with the Validator jQuery Plug-in
JAVASCRIPT

Checking Online Forms with the Validator jQuery Plug-in


If you consider form validation applications to be the kind of coding you least look forward to, keep reading. Thanks to the Validator jQuery plug-in, validating form input from users just got a lot easier. This seven-part series will show you the ways you can use the plug-in to help you build form validation scripts much faster than you may have thought possible.

Author Info:
By: Alejandro Gervasio
Rating: 5 stars5 stars5 stars5 stars5 stars / 2
October 23, 2009
TABLE OF CONTENTS:
  1. · Checking Online Forms with the Validator jQuery Plug-in
  2. · A simple online form
  3. · Validating the HTML form
  4. · Validating web forms selectively

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement
Checking Online Forms with the Validator jQuery Plug-in
(Page 1 of 4 )

Validating online forms has always been a crucial web development topic, inspiring many passionate debates. The subject of form validation always seems to generate tons of feedback when posted in a forum. Regardless of the opinions you might have about it, you'll surely agree that checking data submitted through a web form is a mandatory process, and must be performed on the web server, whether or not this data has been previously verified in the client via JavaScript.

Typically, however, an online form that collects a huge amount of information needs to be enhanced with a client-side mechanism that tells users what type of data should be entered in a specific field, or of there's an offending field that needs to be repopulated.

Of course, to accomplish this in an elegant and professional way, you might want to develop a custom JavaScript application, capable of displaying input errors in a truly responsive way. This approach can be not only time-consuming, but may not produce the results that you'd expect.

Fortunately, there's no need to reinvent the wheel when it comes to checking online forms in the client. Thanks to JavaScript libraries like jQuery, Prototype and so forth, there are a growing number of plug-ins that permit you to achieve this process in a truly painless fashion. Best of all, you'll only need to write a few lines of unobtrusive JavaScript code.

The Validator plug-in developed by Jörn Zaefferer at  is a JavaScript masterpiece that allows you to validate online forms in all sorts of clever ways, without having to mess up your fancy markup with online event handlers. Thus, in this series of articles, I'll be taking a closer look at this plug-in, so you can enjoy its powerful form-checking features as much as I did myself.

Now, it's time to get rid of the preliminaries and learn how to use this handy jQuery plug-in to make client-side form validation a truly fun experience. Let's jump in!


blog comments powered by Disqus
JAVASCRIPT ARTICLES

- More Top jQuery Plugins for Menus
- Top jQuery Tutorials for Beginners
- New UI Framework and SDK for JavaScript Rele...
- JavaScript OpenPGP Tool, Node.js 0.6.3 Avail...
- Yahoo Releases Cocktails Language and Develo...
- Customizing jQuery Slideshows: Dynamic Contr...
- Customizing jQuery Slideshows: the animate()...
- Customizing jQuery Slideshows: slideUp() and...
- Customizing jQuery Slideshows: hide() and sh...
- Web Workers: Performing Calculations in Para...
- More Top JavaScript Frameworks and Libraries
- More Dynamic jQuery Styling Techniques
- The Top JavaScript Libraries
- The Top JavaScript Frameworks
- Dynamic jQuery Styling

Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 



© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 9 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials