Use Google to find help fast. For example, search on "xpressdox choosefromlist".

The If Command

The If Command

Using the If command, chunks of text can be included in or excluded from the merged document depending on values provided by the user in the interview. For example, suppose special wording is required when the Balance_Outstanding is greater than $10000; the If command would be used like this:

We note that your account is overdrawn by an amount of $<<FormatNumber(Balance_Outstanding>>). Please ensure that this amount is paid to us within 48 hours<<If(Balance_Outstanding > 10000)>> failing which you will be handed over to our attorneys<<End()>>.

Note that the If command needs to be accompanied by an End command to mark the end of the text which is being included or excluded.

Note also that there is no need to apply include and exclude commands to one clause; one command i.e. the If command, would determine whether the clause or even an entire template should be included or not.

Leave a Reply