ApproveJs

Simple JavaScript validation that doesn’t interfere


ApproveJs doesn’t automatically attach itself to input change events or form submit events. It also doesn’t manipulate the DOM for you by automatically displaying errors. This allows you to automate validation how you want.

With a single method (approve.value()), you can decide how to handle validation.

As easy as:
var rules = {
    required: true,
    email: true
};

var result = approve.value('user@domain.com', rules);

Get Started