1.0.0 • Published 7 years ago

jquery-background v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

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>