ES6 form field validation library







vally is a simple ES6, zero-dependency form field validation library, that helps
to determine if -values pass certain tests.
The library just provides a set of useful helper functions. Most of the DOM-manipulation
and validation handling still lies in the hands of the user to ensure as much
flexibility as possible.
ANNOUNCEMENT:
>At this point I would currently advise against the use of vally. I am working heavily on a rewrite, which should be out
in a couple of days. This v2.0.0 will contain a lot of breaking changes, but will make this library
way more flexible. If the current state of _vally_ is exactly what you are looking for, feel free to continue
using it (or just fork it). However I will not continue to develop v1.x.x.
* Installation
* API
* Docs
* FAQ
* How can i specify a field as _required_?
* What happens to inputs that are not displayed?
* How can I bind vally to certain events?
* Why does vally ship so few validator functions?
* How can I use a validator function with multiple arguments?
* Example:
* Examples
* Simple Example
* Complex example
* index.html
* config.js
* index.js
``shell`
npm i --save vally
You can either use the build from inside the dist/ directory and include
it via