jquery-background
v1.0.0
Published
## Installation
Downloads
2
Maintainers
Readme
jQuery Formulator v1.0.1
Installation
Dependencies
NPM
npm install jquery-formulator --save-dev
Webpack
require('jquery-formulator');
jQuery
$(document).ready(function(){
$('form').formulator();
});
HTML
Validation
You must add the class .form-validate
<form action="" class="form-validate">
...
<input type="text" name="firstname">
</form>
Ajax
You must add the class .form-ajax
<form action="" class="form-ajax">
...
<input type="text" name="firstname">
</form>
Both
Example with both classes
<form action="" class="form-ajax form-validate">
...
<input type="text" name="firstname">
</form>