Advanced Customization > Info*Engine User’s Guide > Info*Engine Custom Tag Reference > Info*Engine Tags > Supplied Library Tags (JSTL) > if
  
if
The if tag allows for conditional evaluation of its body.
Syntax
<c:if test="CONDITIONAL">
<!-- invoked if CONDITIONAL evaluates to true -->
</c:if>
Attribute Descriptions
Required attributes: test
test
Contains the conditional statement to be evaluated. The test attribute supports operators [==, !=, <, >, <=, and >=]. The numeric operators require that the operands be of a numeric data type for comparison. Where possible, if the operands are of different data types an attempt is made to coerce one to the other to attempt comparison. If one of the operands is a constant, then an attempt is made to coerce the variable to the constant. Conditional expressions of arbitrary complexity can be specified. Portions of expressions to be evaluated together must be grouped with ( ) and expressions can then be joined by [||, &&].
This attribute is required and is also an expression.
* 
&& must be encoded as ‘&amp;&amp,’.
Example
<c:if test="${@FORM[]bool[]==true}">
<!-- conditional code -->
</c:if>

<c:if test="${this==that || (this!=that&amp;&amp;a<b)}">
<!-- conditional code -->
</c:if>