PDF Acro Form now support the Forms Data Format (FDF). You can now export, import, and populate Acroforms in FDF using the read and populate actions. The action attribute of the cfpdfform tag contains a new attribute called fdfdata, where you provide the name of the PDF form to be exported or imported.
Following is an example of how can export a PDF form in FDF format using the read action:


To import form data:


Form data can now be populated in a PDF document using the populate action. The new fdf attribute with populate allows you use the FDF format internally. Following code snippet illustrates this feature:

<cfpdfsubform name="Text1">
<cfpdf subform name="0">
<cfp dfformparam name="0" value="Test1.0.0">
<cfpd fformparam name="1" value ="Test1.0.1">
<cfpdfformparam name="2" value="Test1.0.2">
<cfpdfsubform name="1">
<cfpdfformparam name="0" value="Test1.1.0">
<cfpdfformparam name="1" value="Test1.1.1">
<cfpdfformparam name="2" value="Test1.1.2">

<cfpdfsubform name="Text2">
<cfpdfformparam name="0" value="Test2.0">
<cfpdfformparam name="1" value="Test2.1">
<cfpdfformparam name="2" value="Test2.2">
<cfpdfformparam name="3" value="Test2.3">
</cfpdfsubform><cfpdfformparam name="Text3" value="Test3">
<cfpdfformparam name="Text4" value="Test4">
<cfpdfformparam name="checkbox1" value="Yes">
<cfpdfformparam name="listbox1" value="item4">
<cfpdfformparam name="radiobutton1" value="2">

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy