Add condition on an empty or blank field - 4.x

Description

A common scenario is to do something if a field is not set or empty.

Steps

Add a condition with the following characteristics:

Value

Pattern

Exact

Literal

Negative

Notes

%variable%

\S+

either

(error)

(tick)

  • \S+ means to look for at least 1 (that is what + means) non-whitespace character

  • Use Negative to reverse the matching on a non-blank character