Page 1 of 1

Submitting form details to a PDF

Posted: Tue Jul 20, 2010 5:17 am
by Wardy7
I am after some help please guys.

I have a form on my website where details that are entered get submitted and then get displayed on another page.
However, I am wondering how easy (or not) it would be to post these values into a pdf file for users to print out from there instead of it being a web page?

Any help would be geratly appreciated how I could go about doing this as I'm a bit (totally) clueless :oops:

Cheers
Wardy

Re: Submitting form details to a PDF

Posted: Tue Jul 20, 2010 6:38 am
by buckit
There are 2 ways of doing it...
1) create a PDF from scratch to display everything you need to display (using dompdf, tcpdf or others).
2) create a PDF form (create a PDF with user fillable fields) and then use PHP to create an FDF that will display with the PDF (the FDF basically overlays the field values).

I have tried the FDF method and never had great success with it. but it is possible... I just haven't spent enough time on it.

Re: Submitting form details to a PDF

Posted: Thu Jul 22, 2010 6:47 am
by Wardy7
Hi mate,
thanks for the reply.
I don't suppose you have any examples of this that I could see so I could try and bodge something together myself as I've not much of an idea where to start with it :oops: