form-validation-constructor
v0.6.7
Published
form-validation-constructor the simple constructor for validation form
Downloads
12
Maintainers
Readme
form-validation-constructor
The simple library-constructor which validate form on the client side. Constructor is based on a "strategy" pattern and It can add your personal form check.
form-validation-constructor complemented browser's validation or replaced it with custom checks.
On the section how to add a custom check, you can see an example which add your own check to the list of checks.
See description
See example
Install with npm
You can install library with npm
npm install --save form-validation-constructor
after installation you can connect it to your project The best place to the connect is your root file, which combine all scripts example:
// connect to main scripts file
import formValidationConstructor from 'form-validation-constructor';
formValidationConstructor();