I'm looking to create a script that generates dynamic PDFs in PHP which include editable fields so that the user would be able to enter in specific information that is not already stored in the database.
Has anyone seen a library that includes this functionality? I couldn't find it in any of the popular pdf library docs.
PDF generation with editable fields
Moderator: General Moderators
- andym01480
- Forum Contributor
- Posts: 390
- Joined: Wed Apr 19, 2006 5:01 pm
Section 8.6 of the PDF Reference Manual 6.9MB download! talks about interactive forms. Good luck, was a bit over my head!
http://partners.adobe.com/public/develo ... ence16.pdf
http://partners.adobe.com/public/develo ... ence16.pdf
So I've been fooling around with the pdf libraries, and I'm having a hell of a time, not to mention I can't find a library which can utilize editable fields.
I have a bunch of forms, i.e. real estate contacts / leases which are going to be populated with static information, as well as dynamic information.
Anyone have any similar scripts?
I have a bunch of forms, i.e. real estate contacts / leases which are going to be populated with static information, as well as dynamic information.
Anyone have any similar scripts?
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
If you can generate PDF's with database data or static variable assignments, then assigning $_POST vars shouldn't be that much different. Am I wrong?
EDIT | I just googled searched PHP PDF Generation and found some pretty cool results.
EDIT | I just googled searched PHP PDF Generation and found some pretty cool results.
Notice the first result in the Google search mentioned by Everah is FPDF. I've worked with this a bit and had decent (not perfect) results. At least it's free and relatively easy to work with and extend. 