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 one of the true/false values you specify is true and the other is false.

You can use this 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 only does something if the True/False variable varTF is true:

IF varTF != FALSE
\\do something
END IF