form-validation-constructor

0.6.7 • Public • Published

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 description

See example

see code 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();

License

MIT

Package Sidebar

Install

npm i form-validation-constructor

Weekly Downloads

5

Version

0.6.7

License

MIT

Last publish

Collaborators

  • alexeyvax