If not contains
Conditionally merges different content depending on if the data contains the value.
SYNTAX
{{#ifNotContains data value}}true content{{else}}false content{{/ifNotContains}}
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:
{{#ifNotContains Contact.programCode “FREE”}} Thank you for your purchase! {{else}} Your order has been received. {{/ifNotContains}}
A. Contact’s programCode field has a value of 958WGRH
Thank you for your purchase!
B. Contact’s programCode field has a value of FREE5489
Your order has been recieved.