Week is
Conditionally merges different content depending on if the date contains the month.
SYNTAX
{{#ifweekis data value}}true content{{else}}false content{{/ifweekis}}
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:
{{#ifweekis Contact.ConfirmedUtc "1"}} Welcome! {{else}} Thanks for returning! {{/ifweekis}}<br>
A. Contact’s ConfirmUtc field has a value of 1 for the week
Welcome!
B. Contact’s ConfirmUtc field has a value of 5 for the week
Thanks for returning!