If less than
Conditionally merges different content depending on if the condition is true (if x < y).
SYNTAX
{{#ifLt data value}}true content{{else}}false content{{/ifLt}}
PARAMETERS
Name | Type | Required | Desciptiopn |
---|---|---|---|
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:
{{#ifLt Contact.points 100}} Keep up the good work! {{/ifLt}}
A. Contact’s points field has the value 99
Keep up the good work!
B. Contact’s points field has the value 100
No content is merged
C. Contact’s points field has the value 109
No content is merged