I want to create a PDF in a snippet and then mail it as an attachment to the client. I use the PHP class FPDF which allows to generate PDF files with pure PHP. There you can return the document as a string. But I don't know how to handle this with a FormIt hook. Any help?
I want to create a PDF in a snippet and then mail it as an attachment to the client. I use the PHP class FPDF which allows to generate PDF files with pure PHP. There you can return the document as a string. But I don't know how to handle this with a FormIt hook. Any help?