Hi devs! I have run into a strange problem that probably has a simple fix but I can't work it out.
I have tag cf_commentform that displays a feedback cfform within a cfdiv. The user enters comments, and the form submits inline. Works great. Some pages call cf_commentform more than once. For example, a blog site where there are three entries on a page may have 3 of these called. Each one has unique IDs. However, when I view the source, I am getting the javascript includes loading multiple times on the page: script type="text/javascript" src="/CFIDE/scripts/ajax/package/cfajax.js" /script script type="text/javascript" src="/CFIDE/scripts/cfform.js" /script script type="text/javascript" src="/CFIDE/scripts/masks.js" /script script type="text/javascript" src="/CFIDE/scripts/cfformhistory.js" /script script type="text/javascript" _cf_loadingtexthtml=" div align='center' img src='/CFIDE/scripts/ajax/resources/cf/images/loading.gif'/"; The above appears THREE times, and the browser loads it 3 times. This is clearly unnecessary. When I simply use the commentform code in a cfinclude this does not happen -- it's only when I use the cfdiv/cfform within a custom tag. Does anyone have any ideas on how I can keep using a custom tag like this without all of these multiple javascript loads appearing on the calling page? Thanks ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331281 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

