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



Sample code using the cfsilent tag

Content within cfsilent tag will not be displayed

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

Expected Result: This is from outside cfsilent 5

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub