Placeholder | Replace With |
mult_choice | A Multiple Choice variable |
text | A text value that is either equal to ( = ) or not equal to ( != ) one of the options in the given Multiple Choice variable, inside quotation marks. |
The mult_choice = text expression returns true when the user chooses a Multiple Choice option that is equal to ( = ) a given text value. If it is not equal ( != ), the expression returns false. The mult_choice != text expression functions in the opposite way—testing instead to see if an answer is not equal to (!=) a given text value.
In the following True/False expression, if the user chooses Credit Card as the payment method, HotDocs asks the user for the credit card information:
if MethodOfPayment = "Credit Card"
ask CreditCardInformation
endIf
In the next expression, if Credit Card is not chosen as a method of payment, HotDocs inserts a model which can gather alternate payment information about the user:
if MethodOfPayment != "Credit Card"
insert "Alt Payment Method.docx
endIf