On 2/16/06, Caroline Tobey <[EMAIL PROTECTED]> wrote:
> I am new to using MX and need to add a button to a .cfm form that has
> numerous input fields.  The user will need to input and save their data
> then click a button to print the completed form. How do I do this using
> a button on the form that will say printerfreindly output then the
> <cfdocument> tag in my code?  Any examplse would be wonderful thanks.

Since this is a two step process 1) to save the data on the form and
2) print the data from the form, you'll need have two .cfm files to
handle this. The cfdocument tag doesn't allow the inclusion of the
cfform tag, which makes sense because if the cfdocument tag did allow 
 the cfform tag, all you'll end up with is a printed version of an
empty form. The cfdocument tag doesn't generate html as it's output,
it generates pdf or flashpaper out. The cfdocument tag is not an
interactive tag, it's a server processing tag.


Chris
--
Chris Velevitch
Manager - Sydney Flash Platform Developers Group
www.flashdev.org.au

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232398
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

Reply via email to