Skip to content

Latest commit

 

History

History
74 lines (51 loc) · 2.02 KB

index.rst

File metadata and controls

74 lines (51 loc) · 2.02 KB

Formtools

What is Formtools?

Formtools is a lightweight and powerful JQuery plugin that lets you validate, reset, and fill your HTML forms. It is designed to be extensible and customizable to fit your needs. You can easily define your input validators in the HTML markup and validate the form via Javascript with just one line of code!

How to include it

Just put the following line before your javascript

<script src="https://cdn.jsdelivr.net/gh/nyxgear/formtools@v1.0/dist/formtools.min.js"></script>

or, if you want to get formtools part of your project, you can include its minified file directly.

Dependencies

  • ()
Since formtools is a jQuery plugin it requires .
The only one real dependency is this!!

If you want validate dates you must also include

Formtools is thought to work by default on based template structure.
But! If you don't use bootstrap is not a problem.
You can easly define your custom settings to match your own template structure.
The only two things you need to set up are the custom error class <error-class> and the parent error class <parent-error-class>.

self validators how-to-validate settings changelog