[Jquery] Validform, a good jquery Form Verification plug-in, jqueryvalidform
About Validform
This is a very good jquery Form Verification plug-in. It can meet almost any verification requirements, and only one line of code can complete form verification on the entire site.
$('form').Validform();
Why is it so convenient? The core idea of the plug-in is to bind all the verification conditions and verification prompts to each form element, let the verification code verify that the values of each element in the form are consistent with the bound verification conditions during execution, so that you can add or remove any form element without modifying the verification code, this makes the dream of using only one line of code to complete form verification on the entire site a reality!
Features
- You can bind a regular expression to the input file, and customize the ype. The custom ype can be a regular or function, and the datatype can be accumulated or selected, you can even perform simple logical operations on the ype rule. Built-in 10 common format verification;
- You can customize the prompts to achieve any desired prompts. Four built-in prompts are provided;
- You can verify an area under a form or a specific form element separately, and you can choose to verify the area without displaying error information, you can also get a value to determine whether the detected object has passed verification;
- You can easily cancel or restore the verification of a certain area or specific form element under the form;
- Powerful ajax functions enable real-time verification and form ajax submission. You can flexibly set parameters for ajax submission;
- Intelligent Error message prompt: the error information will be output based on the bound datatype. In addition, you can also return specific error information in the Custom datatype. The error information can use html tags, if no error message is displayed on the page, the tag is automatically created based on the tiptype value. You can choose not to prompt when there is no input or only to prompt when submitting the form. You can choose to prompt a single error at a time or display all error messages at a time. You can set the default prompt text by yourself;
- You can bind an event before the form detection and after the form detection is passed, before submitting the form;
- The current version of the external adjustment plug-in can detect file uploads, password strength, date controls, and form beautification;
- The rich Validform object attributes and methods bring unlimited possibilities for your verification operations.
Attached:
Official website address: Click portal.
Common Function demo: Click portal.
Development document: Click portal.
Download Validform: Official website download, development, and compression.