Using data from form block to populate fields in a pdf

Permalink
I would like to be able to use data from concrete5's form block to populate fields in a pre-designed pdf file. And it would be even better if the pdf could then be emailed upon form submission.

Does anyone have experience or advice on how to achieve this?

AnotherAndrew
 
beebs93 replied on at Permalink Reply
beebs93
FPDF's PHP class is what I've used before and it's relatively easy to pick up (http://www.fpdf.org/).
AnotherAndrew replied on at Permalink Reply
AnotherAndrew
I took a look at FPDF and yes it does look easy enough to build a pdf with php. Thanks for sending me the link.

But how would I get the form data into strings(?) that FPDF can use to populate fields?