cfsilent

Suppresses output produced by CFML within the body of the tag.

  <cfsilent>

 cfsilent();

Examples sample code using the cfsilent tag

Content within cfsilent tag will not be displayed

 <cfset a = 10> 
 <cfset b = 5> 
 <cfsilent> 
    <cfoutput> This is from inside cfsilent #a+b# </cfoutput> 
 </cfsilent> 
 <cfoutput>This is from outside cfsilent #a-b#</cfoutput> 

Expected Result: This is from outside cfsilent 5


Fork me on GitHub