If X and Y are true
Conditionally merges different content depending on if the condition is true (if x and y).
SYNTAX
{{#ifAnd data1 data2}}true content{{else}}false content{{/ifAnd}}
PARAMETERS
Name | Type | Required | Description |
---|---|---|---|
Data1 | Boolean | Required | Data to be evaluated. |
Data2 | Boolean | Required | Data to be evaluated. |
EXAMPLES
The examples below are based on the following sample content:
{{#ifAnd Contact.paidMember subscriber.paidInFull}} Thank you for being a valued member! {{/ifAnd}}
A. Contact’s paidMember field has the value true and freeMember field has the value true
Thank you for being a valued member!
B. Contact’s paidMember field has the value true and freeMember field has the value false
No content is merged
C. Contact’s paidMember field has the value false and freeMember field has the value false
No content is merged