If the attributes objects is an HTML/DOM/j Query element Even though none of the built in validators are async it is sometimes useful to have async validations.
One example would be to check if a username is already used by asking the server.
If an is thrown from an async validator the argument passed to the rejection handler will be that error.
This allows you to differentiate from coding errors and validation errors.
The native HTML form validate has been disabled in a demo purpose so that you may see how works in action.
Sometimes it's nice to be able validate field differently depending on the input itself.
allows the validators object and validator options to be a function that should return the constraints/options: Validates the attributes object against the constraints.
is an open source component of Wrapp and is licensed under the MIT license.
There are no required external dependencies at all!