- 12 Feb 2024
- 1 Minute to read
- Print
- DarkLight
Converting Forms to PDFs for Email
- Updated on 12 Feb 2024
- 1 Minute to read
- Print
- DarkLight
Overview
Example Lab Details | |
Version | 6.4.0 |
Root Folder | Example Lab - Form Conversion |
Modules | None |
Dependencies | None |
This Example Lab project demonstrates how to convert a Form to an emailable format.
Explanation
In order for this example project to work the user must have their Form in an HTML template format or have an HTML template that mirrors the Form. In this example, there is a unit test provided to the user with an HTML template that is used in the Form. The Flow will display the Form to the user and there will be two buttons on the bottom., one to convert the Form to a PDF and the other to cancel. Assuming the user presses the convert to PDF button, the Form will be converted to a PDF using the HTML to PDF step. The PDF file output from this step will then be passed into the Send Email step. Here the document will be emailed to the current Flow user by default.