Skip to content

Form: add hidden field

Plugin ID: eca_form_add_hiddenfield

Available since: 1.0.0

Add a hidden input field to the current form in scope.

Fields

Value — config key: value

The value of the hidden field.
This field supports tokens.

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

Field name — config key: name

The field name is a machine name and is used for being identified on form submission. Example: first_name. It can later be accessed via token [current_form:values:first_name].
This field supports tokens.

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

Element weight — config key: weight

The lower the weight, the submit action appears before other submit actions having a higher weight.

Type: number · Required: yes · Default: 0