How to Save Data Entered by Multiple Users in a Hosted PDF Form
Question details
The user needs to allow multiple users to fill out a web-hosted PDF form while preserving the data entered by each person.

- Product
- Device & OS
- not provided
- Scenario
- Hosting a PDF form on a website for multiple people to complete collaboratively or sequentially.
- Observed behavior
- When a new user opens the original file on the website, the changes made by previous users disappear because they are not saved to the host file.
Ensure you have access to your web server's backend or database, as standard web browsers do not allow users to directly overwrite a hosted PDF file due to security restrictions.
Configure the PDF Form to Submit Data to a Server
Instead of saving the PDF file directly, configure the submit button to send the form data to a web server script.
Standard web servers restrict write permissions to prevent unauthorized modifications to hosted files. By submitting data (like FDF, XFDF, or HTML) to a server script, you can capture each user's input safely without altering the original blank PDF file.
Open the PDF form in a PDF editor, navigate to the form creation tools, add a button, and set its action properties to 'Submit a form'.
Input the exact URL of your server-side script (e.g., PHP, ASP.NET, or Node.js endpoint) that is built to receive and process form data.
Select a data export format such as FDF, XFDF, or HTML based on what your backend script is configured to parse and read.
Write a backend script to receive the transmitted data and store it in a database, appending each user's submission separately to avoid overwrites.

Use Shared Network Folders for Internal Teams
If the form is used entirely internally within an organization, host it on a shared network drive instead of a web server.
Create and Manage Fillable PDF Forms with WPS Office
WPS Office provides powerful PDF editing tools that allow you to create interactive forms, add submit buttons, and fill out forms seamlessly across devices without complex software configurations.
- 1. Open PDF Editor: Launch WPS Office and click on 'PDF Edit' to access the PDF toolset.
- 2. Access Form Tools: Open your PDF document and navigate to the 'Form' tab on the top ribbon.
- 3. Add Interactive Fields: Insert text fields, dropdowns, checkboxes, and push buttons into the document layout.
- 4. Configure Submit Button: Right-click the push button, access its properties, and configure the 'Submit a form' action with your server URL.

Frequently Asked Questions
Why do PDF form fields appear empty when the next person opens the file?
When a user opens a PDF from a website, their browser downloads a temporary copy to their local device. Any filled data is saved locally rather than on the web server, leaving the original hosted file blank.
Can multiple people edit the same PDF form simultaneously?
Standard PDF files do not support real-time simultaneous co-authoring like modern cloud documents do. Users must edit the file sequentially or submit their data to a centralized database.
What format should I use to collect PDF form data?
FDF (Forms Data Format) or XFDF (XML Forms Data Format) are the standard formats used to extract and transmit only the entered form data. This keeps the data payload extremely small and easy for a server to process.
How can I collect data from multiple users without a backend server?
You can configure the PDF form's submit button to send the form data via email by using a 'mailto:your_email@domain.com' action. However, this requires each user to have a default desktop email client configured on their device.




