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

submit pdf

KeniaA
Registered: Dec 17 2007
Posts: 11

Is it possible to have a button on the pdf that will SUBMIT the entire pdf file to the server or email it? I'm using asp.net & acrobat 7.0 professional. If so can you direct me, i'm a beginner.
Thanks.

My Product Information:
Acrobat Pro 7.0.9, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Yes, you can do this. A good place to start is this article

[url=http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/submitting_data/]http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/submitting_data/[/url]

Although you don't need JavaScript to submit the entire PDF, there is a built-in Action. Add a Form Field button to a PDF, then look over the properties in the Actions tab. You'll find submitting a PDF as an option.

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

KeniaA
Registered: Dec 17 2007
Posts: 11
Thom, I read the article and in theory it all sounds good but I still have some questions.
In the button under the properties, action I selected submit form, then on the url, what exactly do I use here? will this url be for storage only or does this url need to contain some code to read and save the pdf? if, so do you have an example? Thank you.