Video Tutorial
Open: Stacklar -> Templates -> PDF Templates; Stacklar -> Settings -> PDF Fonts; Submit action: Generate PDF
Configure the Output: PDF Generation
- Create and publish a PDF Template under Stacklar -> Templates -> PDF Templates.
- In the Submit block, add Generate PDF, select the PDF template, and map each template token to a form field ID.
- Set the File name pattern with supported tokens, then edit the Success message and Error message when needed.
- Open Stacklar -> Settings -> PDF Fonts to upload or manage a font required by the PDF template.
Email and PDF Options
- PDF template: Selects the layout used by the Generate PDF action.
- Field mapping: Maps PDF template tokens to form field IDs.
- File name pattern: Sets the generated document name with supported tokens.
- Success message and Error message: Sets the action result shown after generation.
- PDF Fonts: Uploads and manages fonts used by PDF templates.
Send a Test
- A PDF record is created after submission.
- Text in the PDF is readable and uses the expected characters.
- The filename does not expose sensitive submitted data.
Frequently Asked Questions
Where do I open these settings?
Open Stacklar -> Templates -> PDF Templates; Stacklar -> Settings -> PDF Fonts; Submit action: Generate PDF.
What should I verify after making changes?
A PDF record is created after submission.
Related Guides
Official reference: WordPress wp_mail reference.