PHPNewbie-KY
Sat 11 October 2008, 09:11 pm GMT +0200
I have been trying to take a PDF form, built in Adobe's Designer, populate from an HTML form with PHP and FDF. I am getting it as far as the FDF, and that is all it is populating. I have checked all my paths and they are correct and all of the files are uploaded. I am not getting any php errors. I got the code from an old open source web site, that does not have support, and the sample on their site also doesn't work.
If I can get this last part fixed I would like to post it so anyone can use it, I've looked forever for something that would populate a pdf from an html form and this is as close as I have gotten. I have already fixed several other issues the code had.
Does anyone have any idea where I should look for a solution to this problem? I have already googled it several different ways, and not found a solution, but I might be missing something.
Thanks in advance for your help.
Also, when I get the code done, where should I post it?
22gigs
Sun 12 October 2008, 09:40 am GMT +0200
What is the size of the PDF file?
PHPNewbie-KY
Sun 12 October 2008, 07:50 pm GMT +0200
123 KB is the size of my PDF.
Thanks.
Nikolas
Mon 13 October 2008, 01:40 pm GMT +0200
I don't get it. You want to create an HTML form from a PDF document?
olaf
Mon 13 October 2008, 03:36 pm GMT +0200
no she wants to post a form to a pdf file (there is some script to process data into a pdf file)
@PHPNewbie-KY,
do you tried the tutorials/manual from the site where get the script?
PHPNewbie-KY
Mon 13 October 2008, 04:57 pm GMT +0200
The site had a tutorial, and I followed everything it said to a tee. Most of it was over creating you PDF file. That was the easy part.
I got the code working up to the part where it makes an fdf, I just can't figure out why it won't go from fdf to pdf.
The site is live, message me if you would like to see it.
PHPNewbie-KY
Sun 19 October 2008, 04:40 pm GMT +0200
Does anyone have any ideas. I have still been researching, and can't figure it out.
lightbyte
Mon 24 November 2008, 07:27 pm GMT +0100
I've recently been doing research. Yes, theoretically, if you open an FPF file that has a link to a PDF form template, the FPF should be applied to the PDF. I suspect that most applications (like web browsers) do not support this rarely supported feature. I would certainly expect that Adobe Acrobat would support such a feature. I am beginning to write my own software (PHP,Perl) to add form data (to PDF from HTML).
You may want to try running a program called pdftk. It is supposed to apply FPF files:
http://www.accesspdf.com/pdftk/Another good reference is:
http://www.freeopenbook.com/pdf-hacks/Let me know if you have any other specific questions.
PS - I just moved to Morehead, east of Lexington KY. Let me know if you're anywhere nearby.
PHPNewbie-KY
Mon 24 November 2008, 09:02 pm GMT +0100
I am about 3 and a half hours from Morehead. I am outside Bowling Green.
Thanks for your response.
dbarlow
Wed 28 October 2009, 09:01 pm GMT +0100
Did you ever find a solution to this problem? If you did, I would love to hear about it.
lumpersservice
Sat 12 December 2009, 12:14 am GMT +0100
I have tried filling up a pdf via html using fpf...and still i'm unable to get any luck...anyways..i have to test out more..
timpane
Mon 5 December 2011, 02:29 pm GMT +0100
if you open an FPF document that has a connection to a PDF pattern template, the FPF should be directed to the PDF. I suppose that most submissions (like world broad web browsers) manage not support this seldom sustained feature. I would absolutely anticipate that Adobe Acrobat would support such a feature.
mark_john
Sat 10 December 2011, 03:37 pm GMT +0100
I also need to fill forms in some PDF documents. Thats where I am stuck ! I did some search and realised I needed to generate a fdf or xfdf file. ...