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, so FREE also matches a value holding free.

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.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us