Question
How to submit a PDF Form, store it and redirect to website?
Workflow:
- User downloads a PDF document from a website.
- User opens the PDF document in Adobe Acrobat Reader DC (Side note: Other PDF viewers or the browser's inline PDF viewer won't support submitting forms).
- User fills out the form within the PDF document and clicks on a submit button.
- The PDF document is submitted on a website and stored there.
- User gets redirected to the website or at least gets a success message within Adobe Acrobat Reader DC.
I have accomplished Step 1-4. However on step 5 I'm only able to return the successfully saved PDF file which gets opened in Adobe Acrobat Reader DC.
On the technical side I do this (starting at step 4 of the workflow):
- PDF form is submitted - export type: PDF (whole document)
- On the target URL a PHP server script stores the PDF document.
- Now I want to send a redirect response. I tried the following: PHP header redirect. HTML code with <meta HTTP-EQUIV="REFRESH" content="0;url=xxx">
So my question is how to redirect the user to a website after submitting the PDF form? Ideally the redirection should be controlled by the server script.
