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

<cfif>

<cfif>

Overview:

<cfif> implements conditional logic within your ColdFusion scripts. ColdFusion evaluates a Boolean expression located inside the <cfif> tag and then takes action depending on whether the condition is TRUE or FALSE. <cfif> can be extended with multiple <cfelseif> tags to test conditions beyond the one located in the <cfif> tag and with a <cfelse> tag to provide code to be processed if none of the conditions tested in the <cfif> or <cfelseif> tags prove to be TRUE.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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