Skip to content

button

Custom field type

All field types

A button that does not submit the form.

Written as
"Type": "button"
Valid on
Forms only
On a form
{{ button_field }} — the control object rendered on a Form. Not the same object as Stores.
Validators
This type carries no validators.

Properties

Accepted in addition to the shared properties every definition carries.

Property Required Description
ButtonType What the button does.
  • button
  • reset
  • submit
ButtonText The button label.
ButtonHtml Markup for the button.
TextIsHtml Renders ButtonText as markup.
ButtonValue Value submitted with the form.
OnClick Script run when the button is clicked.