IF Statement

You can use the if statement to display the specified block of HTML code only if the specified CONDITION is true:

<!--{if CONDITION }-->

 HTML CODE

<!--{/if}-->

Note

if should be written in lowercase letters. Using uppercase letters (IF) will result in error.

You can add condition code for easy editing automatically by clicking the IF condition button on the Code Editor Toolbar

Usage Example

Use the link below to see a sample situation where IF statement can be used.

Example 1:Displaying HTML Code in Case Condition is Fulfilled

Shows how to display definite block of HTML code if specified condition is fulfilled.