Skip to content

Form field: compare submitted value

Available since: 1.0.0

Compares a submitted form field value.

Fields

Negate the condition

Negates the condition. Makes TRUE to FALSE and vice versa.

Comparison operator

The available comparison operators like equals or less than.

Comparison operator. Possible values:

  • equal
  • greater than
  • less than
  • starts with
  • ends with
  • contains
  • at least
  • at most
Comparison type

The type of the comparison.

Case sensitive comparison

Compare the values based on case sensitivity.

Field value

The field value to compare.

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.

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.