Browse the docs

A field holds

Passes when a form field on the page equals, contains or matches a value, or is empty.

The field field op value

Details #

field is the field's id, name, number (the Nth input) or a selector. op is equals, contains, matches (a regular expression), isEmpty or isNotEmpty. A checkbox's value is true or false.

Parameters #

ParameterTypeRequiredValuesWhat it does
fieldtextYesThe field. Required.
opone ofequals contains matches isEmpty isNotEmptyOne of the operations above.
sampleany value
tabany valueWhich tab.
valuetextWhat to compare with.

Examples #

Only when the email field is empty
Do
  1. If the field “email” is empty
  2. Fill in 1 field on the page
  3. Else
Open in Switchboard to try it