If not in
Conditionally merges different content depending on if the data is not found within the collection of values that follow.
SYNTAX
{{#ifNotIn data value}}true content{{else}}false content{{/ifNotIn}}
PARAMETERS
Name | Type | Required | Description |
---|---|---|---|
Data | Text or Number | Required | Data to be evaluated. |
Value | Text or Number (collection) | Required | Comma-separated values that data is being compared to. |
EXAMPLES
The examples below are based on the following sample content:
{{#ifNotIn Contact.programCode 4,5,6,334}} There are no options available currently. {{/ifNotIn}}
A. Contact’s programCode field has a value of 5
No content is merged
B. Contact’s programCode field has a value of 14
There are no options available currently.