If blank
Conditionally merges different content depending on if the condition is true (if x is blank).
SYNTAX
{{#ifBlank data}}true content{{else}}false content{{/ifBlank}}
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:
{{#ifBlank Contact.MemberNbr}} Become a member today! {{/ifBlank}
A. Contact’s memberNbrfield has no value
Become a member today!
B. Contact’s memberNbrfield has any value
No content is merged