I'm trying to do a POST HTML request to a web server and display the results in the browser (ideally in a separate tab/window).
Basically, if the adobe reader is running inside a browser, then this works (although the contents are not displayed in a new window);
var aSubmitFields = new Array('f1', 'f2');
this.submitForm({
cURL: 'http://someaddress/serversidestuff.pl',
aFields: aSubmitFields,
cSubmitAs: 'HTML',
cCharset: 'utf-8'
});
However, if the document is viewed inside a adobe reader without any web browser, then this doesn't
work. The number of fields I'd like to use is fairly large (total about 3-6K) making this unsuitable for GET.
Any recommendations on how to get this working?
Another approach that would work for me is basically generating a HTML document via javascript in the pdf doc, and
then opening this generated html with a browser (without any GET/POST) if this could be automated.
Somehow passing html content to the browser is my problem... Not sure if it is possible...