FormsByAir logo FormsByAir

Evaluates a boolean expression and returns the output if true

Syntax

<<[Condition:Expression:Output]>> Server

Expression Required

Boolean expression e.g. '<<Option>>' == 'A'

Output Required

Text and <<tags>> e.g. Option A

Examples

Function Result
<<[Condition:'<<Option>>' == 'A':Option A]>> Option A
<<<[Condition:<<[All:Contact{'<<Type>>' == 'Primary'}]>>:All contacts are primary]>>> All contacts are primary

Table rows

In Word templates and HTML email templates you can show or hide a whole table row, which is useful for formatted content that doesn’t fit inside a tag.

Place a Condition tag without an Output at the start of a cell in the row:

Item Details
<<[Condition:'<<Option>>' == 'A']>>Option A <<OptionADetails>>

If the expression is true the tag is removed and the row is kept. If it’s false the whole row is removed.