Simple setup validator for all your form needs. Work in progress.
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 usingnewoperator.
This is a work in progress.