Skip to content

Form field: set default value

Available since: 1.0.0

Prepopulates a default value in the form.

Fields

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.
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.

Value

The default value to prepopulate.
This field supports tokens.