Added ability to trigger a `validate` event on the form