I have an Adobe PDF Form (FDF) displayed in an <iframe>
which I'm using to show the PDF embedded in HTML.
The form has a Submit button. After submission, any output goes to the same frame, so I get an "app-inside-an-app". I need to specify a new target for the form. But since there is no <form>
tag in the HTML, the form submission is handled by Adobe, I can't specify the target frame to receive the form result. How can I make the output break out of the <iframe>
?
(In case you're wondering why I'm using <iframe>
, that's the only way to display inline PDF that works for me. I can't get the <object>
tag to work with the dynamic PDF that I am generating programmatically. Thus, the <iframe>
is the only option.)
So the question is, any suggestions on how to handle form submission outside the PDF frame? Thanks