Generate PDF file

I know how to create a PDF in the browser using the <cfdocument> tag, but what I’d like to do is be able to create a PDF of an HTML form when the user submits the form. So rather than the user submitting the form and a PDF opening in the browser, the user submits the form and sees a “thank you for completing our form” message with an link to download the PDF version on the page. If they leave the page, the PDF remains on the server for us to commect at the end of the survey period.

Is this possible?

Got it! I was missing the “filename” attribute of <cfdocument>