"jquery" ValidForm, a nice jquery form validation plugin

Source: Internet
Author: User
Tags jquery form validation

About ValidForm

This is a good jquery form validation plug-in that almost satisfies any validation needs, and just one line of code can take care of the entire station's form validation.

$ (' form '). ValidForm ();

Why can it be so convenient? The core idea of plug-ins is to bind all validation conditions and validation hints to each form element, so that the validation code executes just to check that the values of each element in the form match the validation criteria of the binding, so you can add or remove any form element without modifying the validation code. So that only one line of code to complete the whole station of the form verification of the dream become a reality!

Feature Introduction
    • You can directly bind the regular on input, you can customize the datatype, the custom datatype can be regular or function, datatype can be added or selected, or even a simple logical operation can be performed on the datatype rule. Built-in 10 types of common format validation;
    • You can customize the prompt way to achieve any hint you want to effect. Built-in 4 kinds of common prompt way;
    • You can validate a single area or a specific FORM element under a form, and you can choose to verify that an error message is not displayed after validation, and you can also get a value to determine whether the detected object passed validation;
    • It is easy to cancel or restore validation of an area or a specific FORM element under the form;
    • Powerful AJAX features, easy to implement real-time verification and form of Ajax submissions, you can flexibly set the parameters of the AJAX submission;
    • Intelligent error message hint: The corresponding error message will be output according to the binding datatype, in addition, you can return the specific error message in the custom datatype, the error message can use HTML tags, if the page does not display the error message label, will be automatically created according to the TipType value. You can choose not to prompt when you do not have input and only have information when you submit the form. You can choose to prompt a single error at a time or display all error messages at once. You can set the default prompt text yourself;
    • You can bind an event before the form starts detection and after the form is passed, before the form is submitted;
    • The current version of the plug-in can achieve file upload detection, password strength detection, date control and form beautification effect;
    • The rich ValidForm object's properties and methods give you infinite possibilities for validating your operations.

Finally attached:

Website address: Click the Portal.

Common function Demo: Click the Portal.

Development Documentation: Click the Portal.

ValidForm Download: official website Download , development version , compressed version .

"jquery" ValidForm, a nice jquery form validation plugin

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.