Function IF

Allows a condition to be checked

IF([CHECK_VALUE])|ENDIF

Parameters

# Type Passing Default Name Description/Comments
1 boolean required n/a CHECK_VALUE The condition to check

Returns

The inner content if the statement is true


Examples

Example of basic IF statement

{{IF(IsValid(CLCODET))}}
Conditional html code...
{{ENDIF}}

Example of basic IF/ELSE statement

{{IF(IsValid(CLCODET))}}
Conditional html code...
{{ELSE}}
Conditional html code...
{{ENDIF}}