If not blank
Conditionally merges different content depending on if the condition is true (if x not blank).
SYNTAX
{{#ifNotBlank data}}true content{{else}}false content{{/ifNotBlank}}
PARAMETERS
Name | Type | Required | Description |
---|---|---|---|
Data | Text, Number, or Date | Required | Data to be evaluated. |
EXAMPLES
The examples below are based on the following sample content:
{{#ifNotBlank Contact.MemberNbr}} Thank you for being a member! {{/ifNotBlank}}
A. Contact’s memberNbrfield has any value
Thank you for being a member!
B. Contact’s memberNbrfield has no value
No content is merged