Form field: set value¶
Available since: 1.0.0
Set or overwrite the submitted input value of a form field. This also works to set form field value when a form gets rebuilt, e.g. during an ajax request.
Fields¶
Field value-
This field supports tokens. Interpret above value as YAML format-
Nested data can be set using YAML format, for example mykey: "My value". When using this format, this options needs to be enabled.
Validate YAML to prevent this from being executed when invalidField 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.
This field supports tokens. Strip tags-
Whether stripping all HTML and PHP tags or not.
Trim-
Whether stripping all whitespaces at the beginning and end or not.
Filter XSS-
Additionally filters out possible cross-site scripting (XSS) text.