You can check the variable
<cfoutput> <cfif isDefined("somevariable")> #somevariable# <cfelse> handle default scenario here </cfif> </cfoutput>
or you can use the built-in conditional
<cfoutput> #IIF(isDefined("somevariable"),de(somevariable),de(""))# </cfoutput>
source share