15, February 2012

Populating a PDF with FPF via an HTML form - webmaster forum

 
Webdigity webmaster forums
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web Development  >  PhP
Topic: Populating a PDF with FPF via an HTML form
« previous next »
Pages: [1] Print
Instabuck - The easy way to sell digital products online

Author Topic: Populating a PDF with FPF via an HTML form  (Read 5880 times)
World Wide Whale
***
Gender: Female
Posts: 154
1052 credits
Members referred : 0



« on: Oct 11, 2008, 09:11:56 pm »

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? 

I love Pokemon
*
Posts: 14
84 credits
Members referred : 0


« Reply #1 on: Oct 12, 2008, 09:40:46 am »

What is the size of the PDF file?
World Wide Whale
***
Gender: Female
Posts: 154
1052 credits
Members referred : 0



« Reply #2 on: Oct 12, 2008, 07:50:36 pm »

123 KB is the size of my PDF.

Thanks.
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5779
46271 credits
Members referred : 3



« Reply #3 on: Oct 13, 2008, 01:40:10 pm »

I don't get it. You want to create an HTML form from a PDF document?

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #4 on: Oct 13, 2008, 03:36:35 pm »

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?


Last blog : A new Wordpress theme for our blog
World Wide Whale
***
Gender: Female
Posts: 154
1052 credits
Members referred : 0



« Reply #5 on: Oct 13, 2008, 04:57:35 pm »

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.
World Wide Whale
***
Gender: Female
Posts: 154
1052 credits
Members referred : 0



« Reply #6 on: Oct 19, 2008, 04:40:32 pm »

Does anyone have any ideas.  I have still been researching, and can't figure it out.
Just another rainy day
*
Posts: 1
6 credits
Members referred : 0



« Reply #7 on: Nov 24, 2008, 07:27:36 pm »

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.
World Wide Whale
***
Gender: Female
Posts: 154
1052 credits
Members referred : 0



« Reply #8 on: Nov 24, 2008, 09:02:47 pm »

I am about 3 and a half hours from Morehead.  I am outside Bowling Green.

Thanks for your response.
Just another rainy day
*
Posts: 1
6 credits
Members referred : 0


« Reply #9 on: Oct 28, 2009, 09:01:34 pm »

Did you ever find a solution to this problem? If you did, I would love to hear about it.
My name is Bong, James Bong
*
Posts: 10
64 credits
Members referred : 0


« Reply #10 on: Dec 12, 2009, 12:14:25 am »

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..
Novice Spammer
***
Posts: 102
652 credits
Members referred : 0


« Reply #11 on: Dec 05, 2011, 02:29:48 pm »

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.
Hunky Junky Monky Man!
**
Posts: 67
438 credits
Members referred : 0


« Reply #12 on: Dec 10, 2011, 03:37:18 pm »

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. ...
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=8086
Tags : php pdf FPF form Bookmark this thread : Digg Del.icio.us Dzone more....

Pages: [1] Print 
Webdigity Webmaster Forums  >  Web Development  >  PhP
Topic: Populating a PDF with FPF via an HTML form
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
Feb 15, 2012, 12:01:11 am





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!






Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2012 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.