<p>I don't believe Freeform has native functionality for this, but it’s doable with a custom plugin or module.</p>
<p>You'd listen to a Freeform submission event, then grab the contents of the form submission you're interested in, then using use something like <a href="https://github.com/dompdf/dompdf" rel="nofollow noreferrer">https://github.com/dompdf/dompdf</a> to actually generate the PDF when those contents.</p>

CC BY-SA 4.0
2024-01-01T22:33:48.600Z
2024-01-01T22:33:48.600Z
Brad Bell
<p>Question says it all I think. We have a freeform form, where a visitor writes down their name and other info. From there a PDF is mailed back to them, and they have some fields to complete, that they've already completed on the form.</p>
<p>Could it be possible to complete a PDF file based on information sent via Freeform ?</p>
<p>Thanks !</p>

<plugin-freeform><craft4><pdf>
Use Freeform to pre-fill a PDF
# Use Freeform to pre-fill a PDF

(Asked by: username_0 on 2023-12-22)

Question says it all I think. We have a freeform form, where a visitor writes down their name and other info. From there a PDF is mailed back to them, and they have some fields to complete, that they've already completed on the form.

Could it be possible to complete a PDF file based on information sent via Freeform ?

Thanks !

**Tags:** plugin-freeform, craft4, pdf

---

## 1 answers

### Answer by username_1 on 2024-01-01. Score: 0

I don't believe Freeform has native functionality for this, but it’s doable with a custom plugin or module.

You'd listen to a Freeform submission event, then grab the contents of the form submission you're interested in, then using use something like <https://github.com/dompdf/dompdf> to actually generate the PDF when those contents.


---

