Skip to content

Form: add Ajax handler

Available since: 1.0.0

Enhances an existing form field element with an Ajax handler for refreshing parts of a form without refreshing the whole page.


Disable validation errors

Enable this option to completely suppress validation errors.

Validate form fields

Machine names of form fields that should be validated. Define multiple values separated with commas. Example: first_name,last_name. When no fields are defined at all and validation is not disabled above, then the whole form will be validated.


The machine name of the form element target to refresh via Ajax. When empty, then the whole form will be refreshed.

Field name

The input name of the form field. This is mostly found in the "name" attribute of an <input> form element. For submit buttons within content forms: Use "submit" for the labeled "Save" button, and "preview" for the labeled "Preview" button. When this form element got Ajax handling attached, using this element will automatically submit the form. Therefore, you can react upon that with regular form events like Build form, Submit form and when validation is enabled, also Validate form.
This field supports tokens.