Fix PDF Form Submit Button Adding HTTP to Local Network Paths
Question details
The user wants to know why a PDF form's submit button prepends 'http://' to a network path and whether it is possible to submit form data directly to a Windows file share.

- Product
- Device & OS
- not provided
- Scenario
- Configuring a PDF form submission button to send collected data to a local server or UNC network path.
- Observed behavior
- The PDF viewer treats the destination file path as a URL, automatically adding an 'http://' prefix, which causes the submission to a direct local file-system or network share to fail.
Verify your network infrastructure and ensure you have access to a local web server or internal endpoint, as standard PDF forms require a web-based protocol (HTTP/HTTPS) to process submitted data.
Route Form Data Through an Internal Server Endpoint
Since direct submission to a file system is unsupported, the best practice is to route your PDF form data through an internal web server.
PDF submission actions are fundamentally designed to interact with web servers via HTTP or HTTPS protocols. When you attempt to enter a local UNC path or standard file path, the PDF reader interprets it as a URL and prepends 'http://', causing the submission to fail.
To capture form data securely within an internal network, you must set up a script (such as PHP, ASP.NET, or Node.js) on a local web server to receive and process the incoming POST request.
Create a server-side script on your internal network configured to accept HTTP POST requests from PDF forms.
Open your PDF form in your PDF editor, right-click the Submit button, and select Properties.
Navigate to the Actions tab, select 'Submit a form' from the dropdown menu, and click Add.
Enter the full HTTP or HTTPS URL of your newly created server endpoint instead of the local network path, and save your changes.

Implement a Custom JavaScript Save Workflow
Advanced administrators can use folder-level JavaScript to allow users to save files locally, though this requires configuring specific security settings on every user's machine.
Create and Configure PDF Forms with WPS Office
Easily design interactive PDF forms, add submit buttons, and configure secure HTTP/HTTPS endpoint routing natively using WPS Office's advanced PDF tools.
- 1. Open the form editor: Open your PDF document in WPS Office and navigate to the 'Form' tab on the top ribbon.
- 2. Insert a submit button: Click 'Push Button' and draw the button onto your document where you want the submit action to appear.
- 3. Access button properties: Double-click the newly created button to open its Properties window, then go to the 'Actions' tab.
- 4. Define the submit URL: Select 'Submit a form', click 'Add', and enter your secure web server URL (HTTP/HTTPS) to properly route the data.

Frequently Asked Questions
Why does my PDF automatically add 'http://' to my network file path?
Standard PDF specifications require form submissions to use web protocols. When the PDF reader detects a submit action without a recognized protocol, it assumes it is a web URL and prepends 'http://'.
Can I use the 'file://' protocol to submit PDF forms to a shared drive?
No, modern PDF readers restrict the 'file://' protocol for automated form submissions due to severe security risks. Form data must be transmitted over HTTP or HTTPS to a configured web server.
How can I easily save filled PDF forms to a shared network drive?
Instead of using an automated submit button, instruct users to use the standard 'Save As' function (File > Save As) and manually navigate to the mapped network drive or UNC path to store their completed form.
Does WPS Office support creating and configuring PDF form submit buttons?
Yes, WPS Office provides comprehensive PDF form creation tools, allowing you to seamlessly insert interactive buttons and define HTTP/HTTPS submission actions to web servers.




