The validation that is involved in this example is:
User name: Length, character verification, repetitive Ajax validation (whether it already exists).
Password: Length verification, repeat input password verification.
Mail: Email address
Jquery. Validation is an excellent jquery plug-in that validates client forms and provides a number of customizable properties and methods for good scalability. Now combined with the actual situation, I will often use the validation of the project
Jquery. Validation is an excellent jquery plugin that validates client forms and provides a number of customizable properties and methods for good extensibility. Now combined with the actual situation, I have often used in the project validation
PHP Extensible Authentication Class instance (can authenticate to mail, phone number, URL, etc.), instance URL
The examples in this article describe PHP's extensible validation classes. Share to everyone for your reference. The specific analysis is
is a good plug-in, it can verify the client form, and provides a number of customizable properties and methods, good scalability. This article is to understand the application of validation by explaining this example.
The validation that is
JavaScript can be used to validate these input data in an HTML form before the data is sent to the server.
The typical form data that is validated by JavaScript is:
• Has the user filled out the required items in the form?• Is the email address
Document directory
Get this to work
Customizations
Custom functions call (validate from any function you created)
I want to validate directly from Javascript
Inline Ajax Validation
Ajax submitting
Debug mode
Official Demo:
When it comes
Copy the code code as follows:
1. PHP Verification Mobile Phone number (support attribution to query and code for UTF8) _php tutorial
Introduction: PHP Verification mobile phone number (support attribution to query and encoded as UTF8). Copy the
Validate Form Validation extension rulesAdd a custom testAddmethod:name, method, message Extended Validation rulesMailbox Form Validation rulesJQuery.validator.addMethod ("Mail", function (value, Element) {var mail =/^[a-z0-9._%-][email
Defining Chinese messagesvar cnmsg = {Required: "Required field",Remote: "Please fix this field",Email: "Please enter the correct format of e-mail",URL: "Please enter a valid URL",Date: "Please enter a valid date",Dateiso: "Please enter a valid date
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.