Post a comment
Seen by everyone, do not publish license keys and sensitive personal info!
You can set a condition for a paragraph, a list, a list item, a table, or a table row and get this section inserted into an email message along with the whole template only when the condition is met.
To set a condition, start editing your template, right-click the section you want to set a condition for—a paragraph, a list, a list item, a table, or a table row—and then select Add condition:
The Add condition dialog will appear. Use it to formulate your condition. First, decide whether you want to base your condition on some text in an email message field or on the result returned by the ~%WhatToEnter macro, and then select the corresponding option: Message field or WhatToEnter result.
Note. Such conditions as "matches" and "doesn't match" require a regular expression.
Note. Such conditions as "matches" and "doesn't match" require a regular expression.
Tip. To avoid inserting the result brought by the ~%WhatToEnter macro into an email message along with the whole template and use that result to simply check your condition, select the For Insert-if sections only checkbox when inserting the ~%WhatToEnter macro into your template:
When you're done, click OK.
The section that your condition is applied to will be marked with a green indicator:
Note. If you set a condition for a list item, you won't be able to set a condition for the whole list, and vice versa. If you set a condition for a table row, you won't be able to set a condition for the whole table, and vice versa.
If you want to modify a condition, right-click the section it's applied to and opt for Change condition:
After you make the necessary changes, click Save.
In the editing mode, right-click the section where the condition is not needed and select the Remove condition option:
Then click Save.
Post a comment
Seen by everyone, do not publish license keys and sensitive personal info!