8

I am building a webapp that will display PDFs. The PDFs have fillable forms. Instead of making the user save the form, and then re-upload it to the webapp, the idea is to adapt the PDF such that it can POST itself (when the user clicks) from inside the browser to some HTTPS endpoint when the user is done.

Is this doable? If so, how? If not, any suggestions? Thanks.

Mike Mertsock
  • 11,120
  • 7
  • 39
  • 72
alphadogg
  • 12,102
  • 7
  • 49
  • 81
  • Adobe has a product which caters to this exact need: http://www.adobe.com/products/livecycle/forms/. No experience with it though... – ChristopheD Jan 07 '11 at 22:54
  • See http://www.ammug.org/drupal/node/101 – Eugene Jan 07 '11 at 22:55
  • If you want an automated solution, you could a PDF component to generate the PDF server side. Here is an article that has PDF forms documents posting to an HTTP URL - [How to Create and Fill PDF Forms in .NET](http://www.gnostice.com/nl_article.asp?id=106&t=How_to_Create_and_Fill_PDF_Forms_in_NET). This article was written for our company's product PDFOne .NET. We also have similar products for Delphi/C++Builder and Java developers. – BZ1 Jan 10 '11 at 05:30

1 Answers1

13

Yes, there is an option (action) that allows pdfs to post themselves. The steps are as follows:

List item

  1. Open Adobe Acrobat Pro

  2. Select the button tool Select button tool

  3. Add submit form button

    Add submit form button

  4. Add the url and how you want the form to be submitted. You're done. Add url

  5. The warning shown when the user clicks the "submit a form" button. Submit warning

This can also be done in Adobe LiveCycle.

Community
  • 1
  • 1
Eugene
  • 9,015
  • 18
  • 58
  • 86
  • 1
    Perfect. Just in case, what version of Reader is minimum for this functionality to be available? – alphadogg Jan 08 '11 at 02:49
  • Not sure...I believe it works on 7 and up, though I haven't tested less...here are a few relevant links: http://kb2.adobe.com/cps/325/325874.html , http://blogs.adobe.com/stevex/2006/05/http_submit.html , http://kb2.adobe.com/cps/332/332289.html , http://forms.stefcameron.com/2009/12/16/testing-http-submit-buttons/ . Hope this helps! – Eugene Jan 08 '11 at 03:33
  • 2
    FYI, for posterity, forms cannot send themselves as full PDFs unless you enable the PDF Form through Reader Extensions. – alphadogg Jan 26 '11 at 14:03