> The only way to do it would be to write the code into a file, then CFINCLUDE > it, kind of cumbersome,
Not quite the only way. 1. Write the code in the editor ... as if it were a code editor :-| 2. Store the form field data using the gymnastics described earlier. 3. Publish the data as a discrete .CFM template that you use somehow in your application. Since its a physical .CFM you can CFINCLUDE it, CFMODULE it, call it directly as a discrete template etc. If its a CMS you could use code to auto-handle naming, pathing etc. etc. My CMS does all that now but I don't allow CF code to be written into the pages it publishes. On the surface it doesn't sound like an ideal way to write code and build applications but its a big world I guess and someone needs to do it. Glad its not me. -- -...@robertson-- Janitor, The Robertson Team mysecretbase.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338418 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm