Flattening forms created in Acrobat

Flattening forms involves removing the interactivity from the form fields. This action is useful for displaying form data and presenting it without allowing it to be altered. Use the write action to flatten PDF forms, as the following example shows:

<cfpdf action="write" flatten="yes" source="taxForms\f1040.pdf" 
    destination="taxforms/flatForm.pdf" overwrite="yes"> 
    <a href="http://localhost:8500/Lion/taxforms/flatForm.pdf">1040 form</a>
Note: If you flatten a prefilled form created in Acrobat, ColdFusion flattens the form and removes the data from the form fields. When you specify a form created in Acrobat as a source file for merge action of the cfpdf tag, ColdFusion automatically flattens the form and removes data from the form fields, if the fields are filled in. ColdFusion does not support flattening forms created in LiveCycle.