Reading Data into a PDF form with <cfpdfform and <cfpdfformparam
I have been trying to read data from a query into a PDF form. I have the application setup to generate a new pdf file for every record in the database table which is working perfectly, but when I try to have the application pre-populate the form fields in the pdf form they remain empty. I have included a snippet of the code that creates the PDF documents. I am using Adobe LiveCycle Designer 8.0 to create the PDF form.
Snippet Example:
<cfoutput query="renewals">
<cfset new_file = "#reportnumber#.pdf" />
<cfpdfform action = "populate" source = "beta.pdf" destination = "#new_file#">
<cfpdfformparam name="Legal_Contact_Name" value="#LegalContactName#">
</cfpdfform>
<cfpdf action = "write" source = "#new_file#" destination = "#new_file#" flatten = "yes" overwrite = "yes" />
</cfoutput>
All help is greatly appreciated...
