O'Reilly logo

Mastering jQuery by Alex Libby

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Developing a plugin architecture for validation

Throughout this chapter, we've worked with a variety of HTML5 and jQuery techniques to validate our forms. In the main, they have worked well, but their simplistic nature means that we will easily outgrow their usefulness very quickly.

To really take advantage of all that is possible with form validation, it makes sense to move away from simply trying to validate fields to using an existing plugin that takes care of the basic validation process and allows you to concentrate on customizing it and on ensuring that you provide the right functionality for your form.

Enter jQuery Form Validator. This plugin, created by Victor Jonsson, has been around for a number of years, so it is tried and tested; it ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required