If not blank
Conditionally merges different content depending on whether a field has a value. Use it to show something only to the contacts you hold that data for, so nobody sees a half-finished sentence.
Syntax
{{#ifNotBlank data}}true content{{else}}false content{{/ifNotBlank}}
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| Data | Text, Number, or Date | Required | The value to evaluate. |
Note: Any value at all counts as filled in, including a single space. A field holding only a space takes the true branch.
Tip: The {{else}} part is optional. Leave it out and nothing merges when the field is empty, as in the example below.
Examples
The examples below are based on the following sample content:
{{#ifNotBlank Contact.memberNbr}}Thank you for being a member!{{/ifNotBlank}}
A. The contact's memberNbr field has any value
Thank you for being a member!
B. The contact's memberNbr field has no value
Nothing is merged.