1 |
To provide the opportunity to display different text depending on placeholder values conditional statements exist. In the following a set of examples is shown for the usage of conditional statements in document templates and for the usage in email templates within the preamble. |
Usage in documents: Syntax: [var.placeholdertype.placeholder;if [val]=1;then ‘option one’;else ‘option two’] [var.placeholdertype.placeholder;if [val]= ‘valueTocheck’;then ‘option one’;else ‘option two’] Example 1: This example returns ‘Enabled’ if the brochure fee is activated for the property. If the fee is deactivated the text ‘Not Enabled shows up’. [var.fees.bd.BrochureFee.inUse;noerr;if [val]=1;then ‘Enabled’;else ‘NotEnabled’] Example 2: This example returns the name […]