CFIF

"-->
 <cfif expression>           HTML and CFML tags  <cfelseif expression>           HTML and CFML tags  <cfelse>           HTML and CFML tags  </cfif> 

Description

This tag is used to create conditional logic within ColdFusion. It tests a condition such as an expression and then returns true or false. If True, then the code within the tag is executed; if false, then the code within the tag is ignored. Can also be used with the CFELSE and CFELSEIF tags. This tag has no attributes but can include multiple conditions, such as:

 <cfif "11/23/1998 " GT "11/15/1998">  


Inside ColdFusion MX
Inside Coldfusion MX
ISBN: 0735713049
EAN: 2147483647
Year: 2005
Pages: 579

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net