You can submit the form to a HTTP server as a POST or GET request. There was a discussion about this in January, see thread "PBox Newbie Seeking Immediate Solution"

https://mail-archives.apache.org/mod_mbox/pdfbox-users/201601.mbox/browser

In the PDF spec, look for "12.7.5.2 Submit-Form Action". There is no example for this yet. You'd need to not only create a proper form, but a web server as well.

Tilman

Am 14.02.2016 um 20:38 schrieb Al Grant:
Hi Gilad,

Well - both - using a javascript button on the PDF form to call a java
executeable to submit the data on the form to a database. But it doesnt
sound like javascript can call executeables?

I will probably have to have the form saved to the disk and then have the
java executeable given the path to the file, where it can then scrape the
data to the database?

Cheers

-Al


On Sun, Feb 14, 2016 at 10:29 PM, Gilad Denneboom <[email protected]
wrote:
Java or JavaScript? The two are very different, despite the similar names.
You can't execute a Java file from within a PDF (luckily), but you can
attach (Acrobat) JavaScript code to a button in a PDF and have it execute
when the button is pressed, yes.





---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to