If equal
Conditionally merges different content depending on if the condition is true (if x = y) or false.
SYNTAX
{{#ifeq data value}}true content{{else}}false content{{/ifeq}}
PARAMETERS
Name | Type | Required | Description |
---|---|---|---|
Data | Text or Number | Required | Data to be evaluated. |
Value | Text or Number | Required | Value that data is being compared to. |
EXAMPLES
The examples below are based on the following sample content:
{{#ifEq Contact.points 5}} You qualify {{else}} You do not qualify yet {{/ifEq}}
A. Contact’s Points field has the value of 5
You qualify
B. Contact’s Points field has the value of 4
You do not qualify yet