Day is
Conditionally merges different content depending on if the date contains the day.
SYNTAX
{{#ifweekdayis data value}}true content{{else}}false content{{/ifweekdayis}}
PARAMETERS
Name | Type | Required | Description |
---|---|---|---|
Data | Text | Required | Data to be evaluated. |
Value | Text | Required | Value to be searched. |
EXAMPLES
The examples below are based on the following sample content:
{{#ifweekdayis Contact.ConfirmedUtc "1"}} Welcome! {{else}} Thanks for returning! {{/ifweekdayis}}<br>
A. Contact’s ConfirmUtc field has a value of 1 for the day
Welcome!
B. Contact’s ConfirmUtc field has a value of 5 for the day
Thanks for returning!