How to Fix Cannot Combine a PDF XFA Form with Another PDF
Question details
The user is unable to merge a specific PDF form with other PDF documents because the software displays an error, despite the file having a standard PDF extension.

- Product
- Adobe Acrobat
- Device & OS
- not provided
- Scenario
- Attempting to merge or combine multiple PDF files where at least one of the documents is an XFA PDF form containing XML data, such as a Department of Veterans Affairs form.
- Observed behavior
- The PDF software throws an error and rejects the combination process because XFA architecture restricts normal page editing and document merging to prevent form-field value conflicts.
Verify if your PDF contains interactive form fields by opening it and checking for dynamic, fillable boxes. If the document is an official government or enterprise form, it is highly likely an XFA file that requires special handling to merge.
Flatten the XFA Form to a Standard PDF
Convert the dynamic XFA form into a standard, non-interactive PDF by "printing" it to a virtual PDF printer, allowing it to be combined normally with other files.
XFA (XML Forms Architecture) PDFs are dynamic and lock their structure to protect XML data. By printing the file to a standard PDF, you bypass the XFA restrictions, effectively "flattening" the document. Because this removes fillable form capabilities, make sure all necessary data is entered before proceeding.
Open the XFA PDF form in your preferred PDF reader and fill out any necessary information in the form fields.
Go to "File" in the top menu and select "Print", or press Ctrl+P on your keyboard.
In the printer dropdown list, select "Microsoft Print to PDF", "WPS PDF", or a similar virtual PDF printer.
Click "Print". A prompt will appear asking you to choose a save location. Name your new file and save it.
Use your PDF merger tool to combine this newly created standard PDF with your other PDF documents.

Create a PDF Portfolio
Use the PDF Portfolio feature to group the XFA form with other files while preserving its interactive XML data.
Merge Standard PDFs Seamlessly with WPS Office
Once your XFA form is flattened to a standard PDF, use WPS Office's built-in PDF toolkit to quickly combine, edit, and manage your documents. It provides a lightweight, user-friendly interface for all your PDF needs without the heavy resource usage of traditional PDF editors.
- 1. Open WPS Office: Launch WPS Office and navigate to the 'PDF' tab on the home screen.
- 2. Select Merge PDF: Click on the 'Merge PDF' tool located in the PDF toolkit menu.
- 3. Add Your Files: Upload your newly flattened standard PDF along with the other PDF documents you want to combine.
- 4. Combine and Save: Adjust the page order if necessary, then click 'Merge' to generate and save your final combined document.

Frequently Asked Questions
What exactly is a PDF XFA form?
XFA (XML Forms Architecture) is a proprietary format embedded within a PDF container. It is used for dynamic forms that require expanding text fields or strict data validation, and is commonly utilized by government agencies and large enterprise organizations.
Why does merging XFA forms cause errors?
Merging XFA forms is restricted because combining their complex XML data structures with other PDFs can corrupt the form fields. This can cause overlapping data, structure breakage, or mixed field values between different documents.
Can I convert an XFA form to a standard PDF without losing its fillable fields?
No, converting or "flattening" an XFA form into a standard PDF inherently removes its dynamic, fillable XML properties. You must fill out the form completely before using the "Print to PDF" method to flatten it.
Will a PDF Portfolio display correctly on all PDF readers?
While Adobe Acrobat fully supports PDF Portfolios, many third-party or browser-based PDF readers may only display the cover sheet or might not be able to open the embedded files properly.




