<CFIF> Tag - ColdFusion


>> Return to ColdFusion Tag Index

The <CFIF> tag provides conditional If/Then logic to your ColdFusion Template.

Conditional Operators
OPERATOR ALTERNATE DESCRIPTION
CONTAINS   Checks to see if the right value is contained within the left value.
DOES NOT CONTAIN   Checks to see if the right value is not contained within the left value.
GREATER THAN GT Checks to see if the left value is greater than the right value.
GREATER THAN OR EQUAL GTE Checks to see if the left value is greater than or equal to the right value.
IS EQUAL, EQ Checks if the right value is equal to the left value.
IS NOT NOT EQUAL, NEQ Checks to see if the right value is not equal to the left value.


  <CFIF> <CFELSE> <CFELSEIF> Comments from Macromedia LiveDocsLiveDocs Comments - coldfusion - 5.0 - CFML_Reference - Tags49.htm
Error in Syntax section of this page.

<cfelseif>
HTML and CFML tags
<cfelse expression>

should read:

<cfelseif expression>
HTML and CFML tags
<cfelse>




[Top]


Recommended Books

[Top]

Web Sites

[Top]

Copyright © 2003- 2008, Orville Paul Chomer, All Rights Reserved