Skip to content

Form: add container element

Plugin ID: eca_form_add_container_element

Available since: 1.0.0

Adds a div block element to the form for surrounding child elements.

Fields

Element name — config key: name

The element name is a machine name and is used for being identified when rendering the form. Example: name_info
This field supports tokens.

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

Optional — config key: optional

Indicates whether the container should render when it has no visible children.

Type: checkbox · Required: no · Default: false

Element weight — config key: weight

The lower the weight, the element appears before other elements having a higher weight.

Type: number · Required: yes · Default: 0