Hi
I'm new to cf, and wanting to flatten a form created from Acrobat. I tried to combine the code so it writes out the file once, but ran into the problem that cfpdfform doesn't flatten the file unless I use cfpdf. But cfpdf doesn't prefill the pdf textfields. I'm sure there's a way, any help or suggestions is greatly appreciated. Thanks in advance.
<cfpdfform action="populate" source="interactiveform.pdf" destination="interactiveform_temp.pdf" overwrite = "true" >
<cfpdfformparam name="company" value="ACME INC" />
<cfpdfformparam name="address" value="123 Main St." />
</cfpdfform>
<cfpdf action="write" source="interactiveform_temp.pdf" destination="interactiveform_flatten.pdf" flatten="yes" overwrite = "true" >
</cfpdf>