If less than
Conditionally merges different content depending on whether a number is below the one you give. Use it to encourage someone who has not reached a threshold yet, or to flag a balance running low.
Syntax
{{#ifLt data value}}true content{{else}}false content{{/ifLt}}
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| Data | Number | Required | The value to evaluate. |
| Value | Number | Required | The value it must be below. |
Note: The threshold itself does not count. A value of exactly 100 is not less than 100, so the false content merges. Use If less than or equal to when the boundary should be included.
Note: Both values must read as numbers. If the field holds text that cannot be read as one, the false content merges.
Examples
The examples below are based on the following sample content:
{{#ifLt Contact.points 100}}Keep up the good work!{{/ifLt}}
A. The contact's points field has the value 99
Keep up the good work!
B. The contact's points field has the value 100
Nothing is merged.
C. The contact's points field has the value 109
Nothing is merged.