The jQuery form validation plugin unifies the way to validate HTML forms using JavaScript. It is a simple client-side library that will save you a lot of time when it comes to adding validation on your HTML form inputs or selects!
Download: https://github.com/running-coder/jquery-form-validation
Demonstration:
Plugin homepage:
Implementation:
$('form#myForm').validate({
submit: {
settings: {
...
},
callback: {
onError: function (error) {
...
}
}
}
});
Options:
Screenshots: