I have a two-page client intake layout in InDesign that needs fillable fields for name, email, service requested, and …
Open the PDF form you want to populate in Adobe Acrobat.
Go to the Tools tab and select Prepare Form.
In the Prepare Form toolbar, click More and choose Import Data.
In the file dialog, select your data file (FDF, XFDF, CSV, or XML) and click Open.
CautionOnly fields with matching names between the PDF and the data file will be populated.
Review the form to confirm the fields have been populated with the imported data.
Save the populated PDF form.
You can quickly fill out multiple copies of the same PDF form by importing different data files for each recipient.
This runs in the Acrobat app - there is no separate API for this task.
Exporting form data means saving only the answers people put in a PDF form, not the whole form itself. This is useful because you can collect many people's answers and use them in other programs, like spreadsheets, without copying by hand.
If your PDF is an XFA form and you flatten or edit it in a way Acrobat does not support, all form fields, layers, buttons, and scripts will be lost. The form becomes fixed, so you cannot fill or change fields anymore. Always check the form type before flattening or editing, so you do not lose important features.
| Exporting Form Data | Flattening a Form |
|---|---|
| Saves only the answers from fields to a file | Turns all fields into fixed text on the PDF |
| Lets you use data in other programs | Makes the form uneditable |
| Does not change the PDF form itself | Removes all interactive fields |