DefaultSubmit Plugin
Automatically submits the form when all fields pass validation — no manual submit handler needed.
Options
| Option | Type | Default | Description |
|---|---|---|---|
enabled | boolean | true | Enable or disable the plugin |
Playground
Fill in both fields and click Validate. When all fields are valid, the form submits automatically (intercepted here to show a confirmation message).
Notes
form.submit()is called directly — it bypasses the form'ssubmitevent. If you need to intercept submission (e.g., for AJAX), listen tocore.form.validinstead and call your own handler.- Do not name any form control
name="submit"— that shadows the nativeform.submit()method and will throw an error on install. - Pair with
SubmitButtonto disable the submit button during async validation and re-enable on completion.