Skip to content

Render: custom form

Available since: 1.1.0

Build a custom form using "ECA Form" events.

Fields

Machine name

Optionally define a machine name of this render element. It will be made available under that name in the render array of the current event in scope. Nested elements can be set with using "][" brackets, for example details][title.

Token name

Optionally define a token name of this render element. It will be made available under that token name for later usage. Please provide the token name only, without brackets.

Element weight

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

Build mode
Custom form ID

This custom form ID is being used to identify the form on ECA Form events. It is always prefixed with "eca_custom_". Example: When specified the custom form ID my_custom_form, then it can be identified e.g. on the event Build form using the form ID eca_custom_my_custom_form.