ECA Helper: Form field set value¶
Plugin ID: eca_helper_form_field_set_value
Set form field value.
Fields¶
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. Use !!form for the current form instead of form element.
This field supports tokens.Type:
textfield· Required: yes · Default: empty string Element key— config key:key-
The element key to set value for the form element. Example #title, #attributes.class
This field supports tokens.Type:
textfield· Required: yes · Default: empty string Value— config key:value-
The element value.
This field supports tokens.Type:
textarea· Required: yes · Default: empty string Value in YAML— config key:value_yaml-
Value in the YAML format.
Type:
checkbox· Required: no · Default:false Set array value— config key:array-
Set or append data to array value.
Type:
checkbox· Required: no · Default:false Method— config key:method-
The method to set value when use Set array value.
Type:
select· Required: no · Default:appendAllowed values:
set:clear,set:clear_array,set:empty,append,remove