Skip to content

Form field: set as required

Plugin ID: eca_form_field_require

Available since: 1.0.0

Set a form field as required.

Fields

Set as required — config key: flag

Type: checkbox · Required: no · Default: true

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