• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Part 3: Week 3 At a Glance > CFIF CFELSEIF CFELSE

CFIF CFELSEIF CFELSE

Used with CFELSE and CFELSEIF, CFIF lets you create simple and compound conditional statements in CFML. The value in the CFIF tag can be any expression.

Syntax

<CFIF expression>
    HTML and CFML tags
<CFELSEIF>
    HTML and CFML tags
<CFELSE expression>
    HTML and CFML tags
</CFIF>


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint