Skip to content

Set it and forget it validator. Add data-validate attribute in markup, and initiate instance of validator in JS. Needs rules/rulesets to consume.

Notifications You must be signed in to change notification settings

kaizen5/formValidator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Vanilla JS Form Validator

Simple setup validator for all your form needs. Work in progress.

TO USE:

Must have a container that defines the form area (does not have to be a

element) Add data-validate='[RULESET]' to any element. Only add data-required=false if it is optional. We assume it is required. Initialize validator in your JS using new operator.

This is a work in progress.

About

Set it and forget it validator. Add data-validate attribute in markup, and initiate instance of validator in JS. Needs rules/rulesets to consume.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published