0
I Use This!
Activity Not Available

Project Summary

This is a jQuery Plugin for form validation.

Main Features:

1) Multilingual support

2) Fairly straight forward to modify and add your own validation rules. (e-mail, url and date validation based on easy to modify RegExps)

3) Templates! You can specify the formatting of the output when an error occurs. Can be html (for inline display of errors), javascript (for alert() or console messages) or what ever.

4) There is no need to change your current HTML markup. Plugin contains function to automatically set validation rules for the elements you want.

5) Works perfectly with other plugins, esp. ThickBox (i.e. display response in thickbox if form is valid) and jQuery Form Plugin (for ajax submit)

EXAMPLE 1: Validate Single Element on Blur (e.g e-mail address)

$("#email").blur(function(){ $.checkValidity({
element: this,
template : error_template.inConsole,
callback: function(errors){(errors) ? console.debug(errors) : console.debug("Field is valid")}
});
});

EXAMPLE 2: Validate Form on Submit (e.g. at least one product needs to be selected)

$("#purchase").submit(function(){ var err = $.checkValidity({
element: this,
template : error_template.inConsole,
callback: function(el_errors){if(el_errors){alert(el_errors);}}
});
return err;
});

More examples in source code.

Tags

ajax form jquery multilingual template validate validation

In a Nutshell, jqvalidate...

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

GNU General Public License v2.0 or later
Permitted

Commercial Use

Modify

Distribute

Place Warranty

Forbidden

Sub-License

Hold Liable

Required

Distribute Original

Disclose Source

Include Copyright

State Changes

Include License

These details are provided for information only. No information here is legal advice and should not be used as such.

All Licenses

This Project has No vulnerabilities Reported Against it

Did You Know...

  • ...
    Black Duck offers a free trial so you can discover if there are open source vulnerabilities in your code
  • ...
    learn about Open Hub updates and features on the Open Hub blog
  • ...
    65% of companies leverage OSS to speed application development in 2016
  • ...
    you can subscribe to e-mail newsletters to receive update from the Open Hub blog

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

Community Rating

Be the first to rate this project
Click to add your rating
   Spinner
Review this Project!
Sample ohloh analysis