0

I have a pdf that currently people fill in, print out, hand to a receptionist who scans the paper form into a pdf, enters the form fields into a web form, attaches the scan to the web form and submits that. This is dumb.

What I want is a PDF form that once filled out the user can press a submit button. That submit button sends a post request to a web server with the form fields and the completed form. So far I can do half of that, submit the fields to a web site where they show up in POST, and the server's response gets returned to the user as a PDF, at least in Acrobat pro it does. Reader throws an error, but I am hoping that if the server returns a PDF reader will open it.

What I need is the submit button to send the fields to the server, along with a copy of the completed form. I can catch it with PHP and do everything I need from there. Preferably I would like both in the same transaction, but if not I can work around it.

Tyson of the Northwest
  • 2,086
  • 2
  • 21
  • 34
  • Check out this article: http://stackoverflow.com/questions/1389964/merge-fdf-data-into-a-pdf-file-using-php Is that what you want to do? – fvu Sep 28 '11 at 00:01
  • That will probably be part of the solution. But in that case how do I get the FDF file? I point the submit button at my script, tell it to send FDF. But the script doesn't seem to get any data for me to work with. I can get the pdf to send the fdf data, but how do I catch it? – Tyson of the Northwest Sep 28 '11 at 17:44
  • sorry can't help you there, I've been dabbling a bit with that technology a long time ago, don't remember the specifics. It could be a good idea to open a new question focusing on the specific problems you have with fdf – fvu Sep 28 '11 at 20:04

0 Answers0