Field comparisons

Field comparisons use a statement to create a conditional property for a control on a form.

Syntax: FIELD OPERATOR VALUE

  • FIELD is any variable or field name surrounded by brackets, for example, [$x], [name], and so forth.
  • OPERATOR can be =, >, <, <>, or #.
  • VALUE is any quoted string or number.

Note: Field comparisons can also use complex conditions or statements to create a conditional property for a control on a form. You can use | or & to concatenate multiple expressions. For example: [$L.one.click]<>true &[$quantity]>1&[$orderonbehalf.marker]<>true.

Important: In order for a property to depend on a variable (or record field), the variable must be assigned as an input to an object on the same screen. For examples, see Use form dep.g to demonstrate Dynamic View Dependencies.

Related concepts

Dynamic View Dependencies
Field value matching
Dynamic functions

Related tasks

Use field comparisons
Use dynamic functions
Use field value matching