Answer the question
In order to leave comments, you need to log in
What is the best way to integrate web form values into PDF file with forms?
Good evening, I would like to know if it is possible using php to put the values obtained from a web form into a PDF with a similar form .
So that you can go to the site, fill out the form, and when you click the "send" button, a new PDF file is downloaded or opened with the completed questionnaire.
Something like this: pbrf.ru/%D0%B7%D0%B0%D0%BF%D0%BE%D0%BB%D0%BD%D0%B8...
Tell me
how this can be done, or in which side to dig.
If this can be implemented in fpdf, then tell me more precisely how.
Answer the question
In order to leave comments, you need to log in
Install on the PDFtk server, make a template PDF with fields, generate an FDF file with form data (text format) from the data sent by the user in PHP, and then fill the form with the generated data by executing an external command.
See this: https://www.pdflabs.com/docs/pdftk-man-page/#dest-...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question