-
Notifications
You must be signed in to change notification settings - Fork 434
async validation
Christian Alfoni edited this page Sep 12, 2015
·
1 revision
You can do async validation if you run your own validation. If you use the following hooks, as an example:
var validate = function (values, reset, invalidate) {
// Check the values of the form and do your async validation, then
// run the invalidate function to invalidate the form
};
<Formsy.Form onSubmit={validate}>
// Your elements
</Formsy.Form>