CFPDF populate existing PDF
I have an existing pdf that I did not create.
The pdf has 2 form fields
"myname" and "yourname".
I need to capture "myname" and "yourname" in a form and then output those values to the existing pdf and then output the pdf.
Is there a way to write those variables to the pdf and then output the pdf.
Step 1
Form page
User enters "myname" and "yourname" and clicks submit
Step 2
User clicks link to get the pdf that will contain "myname" and "yourname"in the appropriate places.
I can use <cfpdf action="merge" to get the pdf to output, but I cannot get my form variables to output.
They just show up blank.
When I try to use this code below to populate the PDF. I get an error
<cfpdfform action="populate" source="C:\websites\...............">
<cfpdfsubform name="form1">
<cfpdfformparam name="myname" value="Boris">
<cfpdfformparam name="yourname" value="Pasternak">
</cfpdfsubform>
</cfpdfform>
This error:
The requested template has been denied access to /C:/ColdFusion8/runtime/../lib/cf-acrobat.jar.
The following is the internal exception message: access denied (java.io.FilePermission /C:/ColdFusion8/runtime/../lib/cf-acrobat.jar read)
Any ideas?
