An Advanced Condition Placeholder is a conditional equation that contains one or more if/then/else statements (conditions). Together, the conditions yield one value, which becomes the value for the Advanced Condition Placeholder.
Conditions follow this basic formula: When a statement is true, then a value is inserted into the template. When a statement is false, a different value is inserted into the template. The main difference between a standard Document Composition condition and an advanced condition is that an advanced condition allows for multiple conditions.
Before you begin, understand the following concepts in the Advanced Conditions dialog box:
-
Each if and else if row by itself denotes the start of a new condition and is referred to as either a conditional statement or an if statement. Whether the if statement is true or false during template creation determines how the Advanced Condition Placeholder gets its value.
-
Each then insert and else insert row is a possible value for the Advanced Condition Placeholder. A then insert value indicates the solution if the related if statements are true. An else insert value indicates the solution if one or more of the related if statements are false.
-
Each bracketed group of rows makes up a condition. Together, all rows make up the advanced condition.
To create an Advanced Condition Placeholder: