Question
How to click a button on PDF open using Acrobat SDK Javascript / Any other library
Generate a pdf using acrobat sdk javascript which does the following things:
- - It should contain a form with two input fields alpha and beta.
- - The form has a submit button.
- - I want to **submit** this form (click the submit button) **on document load** (trigger of the button) of the pdf **without** any prompts or user interaction.
- - This should submit the form data to a remote url.
The biggest challenge I am facing is:
I am unable to find a way to click a button on load of the document without any user interaction
Action: Click a button
(Can't find the button in the doc let's say using button id or button name)
Trigger: On document load
Any help/ideas are appreciated, thanks!
