- onsubmit: Boolean, default true - validate on form submit (similar to onkeyup/onblur)
- beforeValidation: Callback, called before doing any validation
- beforeSubmit: Callback, called before submitting the form (default submit or calling submitHandler, if specified)

I'm not sure yet if beforeValidation should be called only for the entire form or also when validating a single element. Opinions?

That all sounds good, and just want to add my vote for "onValidationFailure" to be run if the validation fails on the submit action (in other words form() == false). Or, is this covered in your new callbacks and I'm not quite following?

-- Josh


Reply via email to