Skip to content

Form state: set property value

Plugin ID: eca_form_state_set_property_value

Available since: 1.0.0

Sets a property value on the current form state in scope, which can be used on validation and submission.

Fields

Value of the property — config key: property_value

The value of the property to be set.
This field supports tokens.

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

Interpret above value as YAML format — config key: use_yaml

Nested data can be set using YAML format, for example mykey: "My value". When using this format, this options needs to be enabled.

Type: checkbox · Required: no · Default: false

Validate YAML to prevent this from being executed when invalid — config key: validate_yaml

Type: checkbox · Required: no · Default: false

Name of property — config key: property_name

Nested properties are supported by using dot notation. Example: level1.level2
This field supports tokens.

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