HotDocs Author WorkflowCreate a template Add placeholders Group variables in dialogs Upload a template Create a script

TRUE_FALSE = TRUE_FALSE Operator

The TRUE_FALSE = TRUE_FALSE operator returns a value of true if both of the true/false values you specify are true or both are false.

You can use the TRUE_FALSE = TRUE_FALSE operator to form more complex conditions for IF statements. This can be useful in determining template logic.

Operator Model After you drag and drop the model into the script tab: Expression returns:
= ⟦TRUE_FALSE⟧ = ⟦TRUE_FALSE⟧   Replace both ⟦TRUE_FALSE⟧ placeholders with expressions that evaluate to either a true or false value that you want to compare the other to. A true/false value.

Example

In the following example, the script does something if the True/False variable varTF is false:

IF varTF = FALSE
//do something
END IF