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.
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.
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: