Skip to main content
Inspiring
June 1, 2010
Question

CFDocument and Fillable PDF

  • June 1, 2010
  • 2 replies
  • 1221 views

Hi All,

I have been searching this forum and looking this topic up in Google but I am still a bit foggy.

Is it possible to allow a PDF to have "fillable" fields once it has been generated using the <cfdocument> tag?

I have a PDF that is generated by a user via some formfields and database queries, this works great but I needed to have some areas that can be filled in by the user once the PDF has been generated.

I didn't know if there was some trick to add blank form fields to the HTML before <cfdocument> does it's magic or something like that?

Thanks in advance for any help.

This topic has been closed for replies.

2 replies

Inspiring
June 11, 2010

The best you can with CF is concatenate a PDF form created with one of the PDF desktop applications from Adobe with a static PDF generated from cfdocument. Create the PDF Form separately and then use something like:

ilssac
Inspiring
June 1, 2010

No, <cfdocument...> is really used just to create a static PDF from static HTML or other simple content.

If you want to go beyond that, you will need to go to more sophisticated techniques: <cfpdf...>, DDX, and maybe the underlying Java.

This is a the first page of an eight page good blog post that gives a nice overview of the range of ColdFusion PDF tools.

http://www.coldfusionjedi.com/index.cfm/2007/7/9/ColdFusion-8-Working-with-PDFs-Part-1