Since there is a form tag on that page, then I do not think that is possible. You will have to create a Display page of the form data to be printed and That page be wrapped with cfdocument.
Example: Form (this page is to be filled out) with a checkbox to display printable page. On the action page after you save the data or whatever, check to see if the Checkbox was checked and if so redirect them to the DISPLAY page with the Flashpaper or PDF as desired. -----Original Message----- From: carol Tobey [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 15, 2006 1:27 PM To: CF-Talk Subject: Re: cfdocument how to use on a .cfm to print a form? What I need to do is have basically two versions of a .cfm one that has <CFDocument> wrapped around the code that I want output as either flashpaper of pdf. But I do not want to keep to different .cfm files one with the <cdoucment> tag and one without. I want to put the <CFDOCUMENT> tag around my code but only want it to execute when they click a button that says printable format. Otherwise if I wrap the <cfdocument> around my code all the time my form will never be able to accept input. An example would be mapquest they have a link that says printer friendly I want to do this on my form and have it call it's self so the user can then print out either the flashpaper or pdf file. Does that help clarify what I want to do? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232381 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

