Skip to content

Form field: set label

Available since: 2.1.0

Defines label on a form field or element.

Fields

Element label

The label of the form field or element.
This field supports tokens.

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.
This field supports tokens.