I'm using a Contact Form 7 to have the users enter data, then based on their data entry, I need to add different text to the pdf before outputting the entire pdf.
For example, if the user says they like red balloons, the created balloon pdf will mention how important red balloons are, etc...
I know there must be a way to do this using fpdf, tcpdf, or something, but I'm not sure how. Any ideas?
Click the Add Media button (above the editing toolbar buttons). Click Select Files or drag your PDF file into the dotted box. Your PDF document will be imported into the WordPress Media library. Once the uploading/crunching process has completed, enter the text you require (for the link on the page) in the Title box.
Take a look at dompdf Its is very easy to use as well as good implementation documentation.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With