PDA

View Full Version : Getting PDF form data from point a to point b - HOW??


artsygal
08-26-2002, 05:13 PM
Hello!

My client wants to use a PDF form on their website. When a user hits "submit" I want the data sent to the server, then turned back into a PDF for the client. Does anyone know how this is done? Is the form data sent to a database, then a duplicate PDF pulls the data from the database? Or is there another way? The end result needs to be a PDF in the clients hands.

Anyone have a clue? What do I need to learn in order to make this work (assume I know nothing). I've already built the PDF, and each field has a unique name. The solution has to work with Reader - I have to assume that no one using the form will have full Acrobat or Approval.

Thanks a bunch!:thumbsup:
Leisa

Mhtml
08-27-2002, 01:52 PM
Serverside scripting definitely... ASP or PHP though I'm not sure.
I did find this though http://www.hotscripts.com/ASP/Scripts_and_Components/File_Manipulation/PDF_Generation/

Spookster
08-27-2002, 03:42 PM
It would be a whole heck of a lot easier to initially use an HTML form, submit it to be processed and then generate the PDF file with the final information. You can generate PDF files dynamically with PHP.

Sometimes what a client wants isn't always the best option as they usually don't know whats involved with doing different things. I would try explaining to them that it would be better to use HTML forms to submit the initial information. PDF files are generally used as a final product for printing of something and not used to submit data. Unless there is some specific reason they have to use a PDF form to submit the data then I would advise against it.

Mhtml
08-28-2002, 08:15 AM
that was also my initial thought, it was be a lot easier and more likely to have a html form rather then trying to grab the info from a pdf and the return it.

So you would construct a html form and using server side send the info to your app which would convert it to PDF.