Contact-Form-in-Html-to-PDF You can fill the form and dynamically append data to pdf. This is my first use of dompdf library where I am able to dynamically generate pdfs. PS: I have not uploaded the dompdf library but you can find it using google.