Is it possible to convert form inputs to pdf file when submitting

Hi everyone, I will like to know if there’s a way of converting form inputs from user to PDF file and send to the admin’s E-mail.

This should be possible by integrating a PDF-generating library with your controller that handles the form submission:

  1. user submits form
  2. controller calls a PDF library with the user-submitted data
  3. library returns the PDF (this would probably involve creating a temporary PDF file on the server, e.g. in the site/logs or site/cache folders)
  4. controller calls Kirby’s email engine to send the message with attachment

There have been earlier threads discussing the generation of PDFs from within Kirby, maybe these are good starting points to find a suitable library for your purposes?

Thanks, I will try it out