Skip to main content

Condition operators

Overview​

WebForms compares answers in two places, and each has its own comparisons:

A field that a rule hides counts as empty in conditions, because its answer isn't saved.

Rules on the logic board​

A rule starts from a field with options: a Select, Radio, Checkbox or Contact field. You select one or more of its options under Values. A rule can also start from a Rating field; its values are stars.

Condition Options selected The rule matches when
is One The visitor picks that option
is Two or more, on a Select, Radio or Contact field The visitor picks any of them. The board shows ANY OF
is with Any of these Two or more, on a Checkbox field The visitor ticks at least one of them. The board shows ANY OF
is with All of these Two or more, on a Checkbox field The visitor ticks every one of them. The board shows ALL OF
is not One or more The visitor has answered, and the answer isn't one of them. A question left empty doesn't match
is less than One number of stars, on a Rating field The visitor picks fewer stars. A rating not given doesn't match
is greater than One number of stars, on a Rating field The visitor picks more stars. A rating not given doesn't match

Conditions on notifications and confirmations​

You choose a field, a comparison and the value to compare with. The comparisons depend on the field.

Field Comparisons You compare with
Text, Email, Textarea, URL, Hidden Is, Is Not, Contains, Starts With, Ends With The text you type
Phone Is, Is Not, Contains, Starts With, Ends With The number as saved, with the country code and no spaces: the whole number for Is, or a part such as +44 for Starts With
Password Is, Is Not, Contains, Starts With, Ends With The stored value, which is a scrambled form of the password when Encrypt Password is on. Don't base conditions on it
Number Is, Is Not, Greater Than, Less Than A number
Date, Birth Date Is, Is Not, Greater Than, Less Than A date written as year, month and day, such as 2026-11-01
Time Is, Is Not, Contains, Starts With, Ends With The time as hours and minutes, such as 09:30
Select, Radio, Contact Is, Is Not One option, chosen from a list
Toggle Is, Is Not 1, typed, which means the switch was on. A switch left off is an empty answer
Checkbox Is, Is Not, Contains, Does Not Contain With Is and Is Not, one or more options, ticked in a list; with Contains and Does Not Contain, one option chosen from a list. See the notes below
Name, Address Is, Is Not, Contains, Starts With, Ends With The text you type. A notification compares it with the answer as the submission page shows it, such as the full name. A confirmation compares it with the answer as it's stored, so there Is with the full name or Starts With with the street doesn't match; use Contains with one word
Country Is, Is Not One country, chosen from a list
State Is, Is Not The state's name, typed, such as Oregon. This works in a notification. In a confirmation, Is doesn't match a State answer; base the decision on a Country field there
Autocomplete Is, Is Not, Contains, Starts With, Ends With The text the visitor sent

What each comparison does:

Comparison Matches when the answer Notes
Is Equals the value Uppercase and lowercase letters count as equal, and spaces before or after the answer don't count: "Lena Holm" is lena holm
Is Not Isn't the value On a notification, an empty answer matches Is Not. On a confirmation, it doesn't
Contains Has the value anywhere in it Letter case doesn't matter: "Fjord Corner SOFA" contains sofa. On a Checkbox field: the option is among the selected ones
Does Not Contain Doesn't have the option among the selected ones Checkbox fields only. On a notification, an empty answer matches. On a confirmation, it doesn't
Starts With Begins with the value Letter case doesn't matter
Ends With Ends with the value Letter case doesn't matter. Useful for an email domain, such as @example.com
Greater Than Is a bigger number, or a later date
Less Than Is a smaller number, or an earlier date

More about conditions on notifications and confirmations:

  • An empty answer never matches, except Is Not and Does Not Contain on a notification, as described above.
  • ALL means every condition must match, ANY means one is enough. To accept either of two answers of the same field, add a condition for each and select ANY: "Reason Is Arrived damaged" or "Reason Is Wrong item".
  • A condition on a Checkbox field reads the visitor's options together. Is matches only when the visitor ticks exactly the options in the condition, and Is Not matches for any other set, including those options together with another one. The editor says so under the list: "Matches when exactly these options are ticked." or "Matches when any other set is ticked." To ask whether an option is among the ticked ones, use Contains or Does Not Contain. A new condition on a Checkbox field starts with Contains.

What's next​

Applies to WebForms 4Last reviewed November 2, 2026