Skip to content

Form field: set weight

Plugin ID: eca_form_field_set_weight

Available since: 2.1.0

Defines weight on a form field or element.

Fields

Element weight — config key: weight

The weight as integer number.
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