How to Preserve PDF Form Field Formatting After Merging Documents
Question details
The user needs to maintain number and currency formatting in fillable PDF fields (specifically XFA forms) after combining the file with another document.

- Product
- PDF Editors
- Device & OS
- not provided
- Scenario
- Merging a fillable PDF or XFA form with another PDF document.
- Observed behavior
- The form fields remain after the merge, but specific data formatting, such as number and currency styles, is lost in the combined output.
Verify whether your fillable PDF is a standard AcroForm or an XML-based XFA form, as XFA forms are highly prone to losing calculation scripts and formatting during standard document merges.
Create a PDF Portfolio Instead of Merging
Use the PDF Portfolio feature to bundle the documents together without altering their underlying code, preserving all original XFA form formatting.
Standard merging combines multiple pages into a single continuous document, which often breaks or strips the complex scripting (like XFA currency formatting) attached to individual form fields. Creating a PDF Portfolio bypasses this issue.
A PDF Portfolio acts as a secure container or digital folder. It holds separate PDF files together in one package while maintaining each file's individual properties, security settings, and form scripts completely intact.
Launch Adobe Acrobat or your preferred advanced PDF editor that supports portfolio creation.
Go to 'File' in the top menu, select 'Create', and then click on 'PDF Portfolio'.
Click 'Add Files' and select the original fillable PDF (or XFA form) along with the other PDF documents you want to combine.
Arrange the files in your preferred order, then click 'File' > 'Save As' to export your newly created PDF Portfolio. Your form fields will retain all formatting.

Manage and Combine Standard PDF Forms Seamlessly with WPS PDF
For standard PDF forms (AcroForms), WPS Office provides robust PDF tools to combine, edit, and manage documents without losing critical form data. It is a lightweight and powerful solution for your daily PDF tasks.
- 1. Launch WPS Office: Open WPS Office and switch to the 'PDF' tab from the main workspace.
- 2. Access the Merge Tool: Click on 'Merge PDF' from the top toolbar or the PDF tool center.
- 3. Add Your Files: Upload your standard fillable PDF and any other documents you wish to combine into the merge window.
- 4. Merge and Save: Click 'Merge' to process the files. Once complete, save your new combined document with the form fields intact.

Frequently Asked Questions
Why do PDF form fields lose formatting when merged?
When standard merging combines PDFs, it rewrites the underlying document structure. If the documents use complex scripting like XFA for currency or date formatting, the new combined file often strips these scripts to prevent conflicts, leaving behind unformatted basic text fields.
What is the difference between merging PDFs and creating a PDF Portfolio?
Merging extracts pages from multiple files and weaves them into a single continuous document, which can break interactive form scripts. A PDF Portfolio acts as a digital binder that holds separate PDF files together in one file format, preserving each document's individual scripts, forms, and formatting.
Can I convert an XFA form to a standard PDF to keep formatting before merging?
Yes, you can 'flatten' the XFA form by printing it to a PDF via the 'Print to PDF' function. However, this converts the fields into static text. This method preserves the visual formatting (like the currency symbols) but removes interactivity, meaning the fields can no longer be edited.




