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

Form submit from Acrobat Pro

synergy
Registered: Feb 23 2007
Posts: 33

I'm using Acrobat Pro to import data into form fields that I then want to submit to a web server script for on-line processing.
 
How do I stop Acrobat Pro from trying to download the server page when I click the submit button?
 
Synergy.

My Product Information:
Acrobat Connect 7.0.0, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Submits should always be to a server side script, i.e., ASPX, Perl, PHP, etc. You're script needs to consume the data and then return a know PDF data format (FDF, XFDF, XDP) back to Acrobat. It should not return HTML.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

bquell
Registered: Feb 14 2007
Posts: 7
So basically, to clarify: if the cgi script processes from a pdf, the return url should be something like http://www.mysite.com/pdfthanks.fdf?Where does that fdf come from? How do you create that fdf file? Can you give a sample?

Thanks.
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
PDF Submits are done with HTTP Request/Response. The server script receives an HTTP Request Packet, (Header and Body). It processes the data in the body of the request and returns an HTTP Response Packet (Header and Body). The server script's job is to fill in the Header and Body of the Response. The Body of the response should contain a known PDF Data format.

This is not a simple topic. It's the sort of thing people write books on and take classes for. In fact, we do training on PDF Data Handling. But the training assumes you already know how to do some kind of server side scripting.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script