Skip to content

Form field: set label

Plugin ID: eca_form_field_set_label

Available since: 2.1.0

Defines label on a form field or element.

Fields

Element label — config key: label

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

Type: textfield · Required: no · Default: empty string

Field name — config key: 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.

Type: textfield · Required: yes · Default: empty string