How can I append a form input from an HTML for to a pre-designed pdf form and mail the output pdf to a reciepient ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

How can I append a form input from an HTML for to a pre-designed pdf form and mail the output pdf to a reciepient ?

I have a registration form - more like an application form. I have been able to append the registration details on to a txt file after which I manually mail it to an email. But, I want to know how I can append the input into something like a letter head in pdf format and automatically mail it to myself.

6th May 2017, 6:27 PM
Abdul-Wahab Iddriss Raaj
Abdul-Wahab Iddriss Raaj - avatar
2 Answers
+ 1
You can try to make json file as input, and make html page with inline style, use php mail () to email the html page.
7th May 2017, 12:39 AM
Calviղ
Calviղ - avatar
0
Well, I happen to come across pdf.js and that made it simple for me
19th Nov 2017, 12:05 AM
Abdul-Wahab Iddriss Raaj
Abdul-Wahab Iddriss Raaj - avatar