Menu

Operators

Updated: 2022-02-18

Use the following operators in field codes to build conditions based on the content in a field.

Note: There is no else operator, you must reverse the condition.

Operator Description

and

Both statements are true.
or Either statement is true.
> The value of the first statement is greater than the value of the second statement.
< The value of the first statement is less than the value of the second statement.
>= The value of the first statement is greater than or equal to the value of the second statement.
<= The value of the first statement is less than or equal to the value of the second statement.
= Statements are equal or produce the same results.
!= Statements are not equal or produce different results.
not(...)

Reverses the statement.

{{not(CurrentClient.T1DD.WITB.BranchNumber>2)}}

isblank(...)

Tests whether a field is blank. Useful when looking to see if there is a date in a field.

For example, to check whether that there is no spouse date of death on the Info worksheet:

{{isblank(CurrentClient.Info.Filing.SpouseDateOfDeath)}}

Combine this with the not() function to do the reverse, test whether the field has something in it. For example, to test that there is a spouse date of death on the Info worksheet:

{{not(isblank(CurrentClient.Info.Filing.SpouseDateOfDeath))}}
isempty(...)

Checks to see whether there is text in a field.