Submit Adobe Acrobat PDF Form Data to an ASP.NET Server
Question details
Send values from an Adobe PDF form to an ASP.NET server when a user clicks a button.

- Product
- Adobe Acrobat and ASP.NET
- Device & OS
- not provided
- Scenario
- A PDF form collects basic field values that may need to be stored, merged into a completed PDF, or emailed.
- Observed behavior
- The user needs a submit action and a server endpoint that can receive and process the form values.
Identify the PDF field names and create an HTTPS URL for the ASP.NET endpoint. Decide which submission format the server will accept and have a compatible desktop PDF reader available for testing.
Configure an Acrobat Submit Form action and ASP.NET endpoint
Use this method when the existing PDF form must send its field values directly to the server.
Open the PDF in Adobe Acrobat and select Prepare a form. Add a button if the form does not already have one.
Open the button's Properties, select the Actions tab, and choose Mouse Up as the trigger. Select Submit a form as the action and click Add.
Enter the complete HTTP or HTTPS URL of the ASP.NET endpoint. Choose a submission format, such as HTML, XML, XFDF, FDF, or XDP, that your server can process, then save the PDF.
In the ASP.NET endpoint, inspect the request's content type and parse the submitted format. For compatible HTML form submissions, read the posted fields from the request; for FDF or XFDF, use a suitable PDF form-data parser. Validate the values before storing them.
Add server-side logic to merge values into a blank PDF or email the result if needed, and return a success or failure response. Open the saved PDF in a compatible desktop reader, fill in the fields, click the submit button, and check the server logs and received data.

Use an HTML form for broader device compatibility
Use an HTML form instead when reliable submission across browsers and devices is more important than entering data in the PDF.
Work with PDF and Office files in WPS Office
WPS Office is a free, lightweight, easy-to-use alternative for everyday document work, with a familiar interface and support for common Office formats to help you move existing files. It does not configure an Adobe Acrobat Submit Form action or provide the ASP.NET endpoint described above.

Frequently Asked Questions
Where do I enter the ASP.NET endpoint URL in Acrobat?
In Prepare a form, open the submit button's Properties and go to Actions. Add a Submit a form action, then enter the complete endpoint URL in the submission settings.
Which PDF submission format should I choose?
Choose a format your endpoint can parse. HTML can be handled as form data when the request uses a compatible encoding; FDF, XFDF, and other PDF-specific formats may require a dedicated parser.
Why does the submit button work in a desktop reader but not in a browser?
PDF viewers differ in their support for form actions and submission formats. Test with a compatible desktop reader and consider an HTML form if browser and device portability is essential.
Can the server create or email a completed PDF?
Yes. After the ASP.NET endpoint validates the submitted fields, server-side code can use a suitable PDF library to populate a blank form and an email service to send the resulting file.




