View Full Version : Sending Form information as a PDF.

06-04-2008, 04:44 PM
Here is my problem. I have a site that i am creating and the client has asked me to have a form to fill out, about 12 of them. Which is not a problem at all. Here is the kicker though, i have them as digital PDF's on the web site. When a user comes in they need to fill them out online then submit them.

I know you cant fill out a PDF and save it as is without Acrobat Pro, but is there a way fot the user to fill the digital form on-line then hit submit, then the e-mail of information is sent to the client with an attched pdf filled out or created on the fly?

Im not sure if i am explaining my self correctly but if you have any questions about my question let me know please. Thanks for any suggestions.

06-04-2008, 10:57 PM
ok, i have looked and looked through out the internet and i have found the easiest or atleast the one way to make it work. I searched codingforums.com and found that this question has benn asked multiple times with no available answers. So in the future hopefully someone can use this information to thier advantage.

What i did was create a submit button by

clicking the button tool > button properties > action (tab) > selected on "select action" submit a form .

From there i added my e-mail to send to, (you can send to anyone), then clicked fdf include and all fields. Then once it is setup you test it on the server. Then once the email is sent you need to do one more thing.

When you save the fdf to your computer go to

start > my computer > click tools on the top bar > folder options > click the tab "file type" > add > click "new" then advanced > type in fdf > choose Acrobat reader to open the file.

Then after all of that you can open the page and it populates.. then save. Here is a site that helped me out with it.


good luck all!

06-05-2008, 06:39 AM
That would have been helpful for a recent small project. However, if I had my way, it would be a regular web form with an on-the-fly conversion. More power to the free solution! :)

06-07-2008, 01:59 PM
Hi there,

I'm looking at developing something similar to this myself actually for our company. I've been playing about with FPDF (which I stumbled across a while ago).

The way I am working it is to create a standard PHP web form to harvest all of the raw data from the end user and then I'm passing it into an array. This is then fed to my FPDP functions which will create a full PDF, including company decals on the fly and then email it.

Sounds like that may have been what you were after?