Powerful jQuery Form Verification plug-in, suitable for daily E-mail, phone number, URL verification and Ajax verification, in addition to its own rich verification rules, you can also add custom verification rules. Compatible with IE6 +, Chrome, Firefox, Safari, and Opera10 + is an excellent plug-in that can verify client forms and provide many customizable attributes and methods, excellent scalability. This article explains this example to understand the application of Validation.
Verification involved in this instance includes:
Username: length, character verification, and repeated ajax verification (whether the user exists ).
Password: length verification. Repeat the password verification.
Email: Verify the email address.
Landline phone: Chinese mainland landline phone number verification.
Mobile phone number: Mainland China Mobile Phone number verification.
URL: Verify the website URL.
Date: Standard Date Format verification.
Number: integer, positive integer verification, number range verification.
ID card: Chinese mainland ID card number verification.
Zip code: Mainland China zip code verification.
File: file type (suffix) verification. For example, only images can be uploaded.
IP:IP addressVerify.
Verification Code: ajax verification code.
Usage:
1. Prepare the jquery and jquery. validate plug-ins.