MULT_CHOICE = TEXT Operator

The MULT_CHOICE = TEXT operator returns a value of true if the multiple choice option a template user selects matches the text value you specify.

You can use this operator as a condition for IF statements. It is useful for determining template logic.

Operator Model After you drag and drop the model into the script tab: Expression returns:
= ⟦MULT_CHOICE⟧ = ⟦TEXT⟧  Replace the ⟦MULT_CHOICE⟧ placeholder with the multiple choice variable you are checking and the ⟦TEXT⟧ placeholder with what you are checking for. A true/false value.

Example

In the following script, if the user chooses Credit Card as the payment method, HotDocs asks the user for their credit card information:

IF Method of Payment = "Credit Card"

ASK Credit Card Information

END IF

Download

After you download the example template, you can import the template to any workspace to see this example code in action.