These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Submitfrom - code for versions 6 to 9

Roto
Registered: Apr 26 2010
Posts: 4

Hi,

I am searching for a java code to submit a form (by email) that works for Acrobat 9 down to Acrobat 6 and for Reader as well as for Pro.

The form was created using Acrobat 9 and I put together some code fragments already so it works for Version 6 to 8 (and for Acrobat Pro 9) - but unfortunately not for the Reader 9.

A downward compatible submission code should be a common issue especially if you do not use a server for submission. I am wondering if there is a standard solution somewhere?

Roto

My Product Information:
Acrobat Pro 9.3.1, Windows
try67
Expert
Registered: Oct 30 2008
Posts: 2398
The standard submitForm() method is backwards compatible down to version 3.01 and can be used from both Acrobat and Reader.

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com

Roto
Registered: Apr 26 2010
Posts: 4
You are right if you just want to submit the form.
But I want to add a user defined body text and an individual subject (linked to a field in the prefilled form) so it wil be easy to refer the reply to the request.

Please excuse my incomplete question.
try67
Expert
Registered: Oct 30 2008
Posts: 2398
In that case, try using mailDoc. This method does have some security restrictions, however.
Check the reference for more info.

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com

Roto
Registered: Apr 26 2010
Posts: 4
Thank you for your advice.
For MailDoc the mail program must be MAPI-enabled.
The form will be distributed to different groups of recipients and not all use MAPI for their e-mail. Therefore submitForm might be the best choice?