I’m working on an intelligent PDF file. It’s supposed to send some simple data to a certain URL:
Is there a way to get around this?
I can add a button to the form and ask the user to click it. It’s lame, but better than nothing. But then I can only open a hardcoded URL and can’t send any dynamic data with it.
I wonder if it’s possible to programmatically trigger a button?
If neither works, is it possible to try to “talk” to Chrome from inside the PDF reader?
(Bonus question to whoever flagged this question: what part isn’t clear for you?)
OK, here are the answers.
It is possible to add a PDF form with a Submit button to the document with a HTTP POST request as action, but that will also only work in Acrobat Reader. Chrome and Edge will send the POST, but with an empty request body, and Firefox won’t do anything.
No, it’s not possible to programmatically click a button.