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