That would work for thing inside of strings, but one of the other things
I get is:
<input type="checkbox" value="YES" <cfif databasevalue>checked</cfif>>
Our policy uses:
<cfif databasevalue>
<input type="checkbox" value="YES" checked="true" />
<cfelse>
<input type="checkbox" value="YES" />
</cfif>
It is more readable (in my opinion).
Thanks for the idea though, that might be a starting point!
Steve
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion 8 beta â Build next generation applications today.
Free beta download on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:280992
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4