If X or Y is true
Conditionally merges different content depending on if the condition is true (if x or y).
SYNTAX
{{#ifOr data1 data2}}true content{{else}}false content{{/ifOr}}
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:
{{#ifOr Contact.paidMember subscriber.FreeMember}} Thank you for being a member! {{/ifOr}}
A. Contact’s paidMember field has the value true and freeMember field has the value true
Thank you for being a member!
B. Contact’s paidMember field has the value true and freeMember field has the value false
Thank you for being a member!
C. Contact’s paidMember field has the value false and freeMember field has the value false
No content is merged