Skip to content Skip to sidebar Skip to footer

How To Get Form Data From Pdftron Webviewer

I have a PDFTron webviewer which I use to render a pdf form. I need to extract the form xml from the webviewer when user click on external save button. I tried var am = readerContr

Solution 1:

config.js is the preferred place for webviewer modifications because it executes in the context of the viewer's iframe window. More on this in the following tutorial:

https://www.pdftron.com/webviewer/demo/tutorials/getting-started-config-files.html

Alternatively you could access iframe variables through contentWindow as described in the following post: https://stackoverflow.com/a/13758233/1710586

Post a Comment for "How To Get Form Data From Pdftron Webviewer"