1.0.6 • Published 7 years ago

jquery-formulator v1.0.6

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

jQuery Formulator

Installation

Dependencies

NPM

npm install jquery-formulator --save-dev

Install plugin and all dependencies

npm install jquery-formulator jquery-validation@1.16.0 jquery-form@4.2.0 jquery.rut@1.1.2 sweetalert@1.1.3 --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>

Add this to show form errors

<div class="form-errors"></div>
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>
1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago