ApproveJS

Simple JavaScript validation that doesn't interfere


var rules = {
    required: true,
    email: true
};

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

Validation the way you want

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 handle validation how you want.

ApproveJs exposes a single method, value() and leaves you to decide when a value is validated and how errors are displayed.

If you like to be in control or have a little OCD like me, ApproveJs is for you.

Download Documentation