If not contains
Conditionally merges different content depending on whether a value does not contain the text you give. Use it to treat one group as the exception, such as everyone whose code does not mark them as a free signup.
Syntax
{{#ifNotContains data value}}true content{{else}}false content{{/ifNotContains}}
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| Data | Text | Required | The value to search in. |
| Value | Text | Required | The text to look for. |
Note: Capitalization is ignored, soFREEalso matches a value holdingfree.
Examples
The examples below are based on the following sample content:
{{#ifNotContains Contact.programCode "FREE"}}Thank you for your purchase!{{else}}Your order has been received.{{/ifNotContains}}
A. The contact's programCode field has a value of 958WGRH
Thank you for your purchase!
B. The contact's programCode field has a value of FREE5489
Your order has been received.