lol.js makes it easy to provide inline form validation and save progress in local storage incase of interruption. This is a work in progress and is not ready for anything.
Values:
Provide visual feedback as users fill out forms.
Save progress locally as users fill out forms.
Reduce HTTP requests by leveraging local storage.
Delegate javascript events for much win.
As is...
$('input').lol();
$('input[type="tel"]').lol();
Soon!
$(yourSelection).lol({
pattern: {regex}, // See http://html5pattern.com/
matches: {id}, // for confirmation fields
invalidClass: {class}, // defaults is false
validClass: {class} // defaults is false
});
Todo (in no order):
Handle invalide form fields.
Pass options as an argument to lol(). See "Soon!" above.
use module exports for node / browserify modules to validate on client & server
Update bower, jquery, and npm package info with version 1.0
Something went wrong with that request. Please try again.
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.