最流行的10个jQuery表单验证插件

jopen 10年前

1.validity

validity1.png

jQuery.validity is a plugin designed to aid in the configuration of clientside form-validation. It makes use of jQuery’s selector engine and follows its pattern of method chaining.

2.jquery formvalidate

Taking validation rules from HTML 5 data attributes applied to each input, this plugin helps efficiently validate your HTML forms.

3.happyjs

happyjs.jpg

A lightweight form validation for jQuery or Zepto.js.

4.Validatr

validatr.png

Relies on using modern HTML5 input attributes to perform validation, however, it can also use native validation where ever possible.

5.validator

validator.jpg

This cross-browser plugin gives you the power to use future-proof input types such as tel, email, number, date, and url.

6.jquery-form-validator

jquery-form-validator.jpg

You can validate email, phone, url to more complex calls such as ajax processing.

7.Quick Validation

quick-validation.jpg

jQuery form validation that makes sense. Using a data-validate attribute in the input tag, you can string together rules like this required,number,range=0-99, then add the .quickValidate class, add a data-name attribute to name your field for errors, and you’re done.

8.Parsleyjs

parsleyjs.jpg

Like no other form validation library, simply write in English your requirements inside your form HTML tags, Parsley will do the rest. No need to write even a single javascript line for simple form validation.

9.Progression

progression.jpg

A jQuery plugin that gives users real time hints and progress updates as they complete forms.

10.jquery live form validation

A jQuery plugin which helps create easy form validations with high flexibility and a large set of options.