All documentation

Stacklar Documentation

Generate PDFs and Configure PDF Fonts

Use Generate PDF actions, save PDF records, set filename patterns, and choose fonts that support the output language.

Video Tutorial

Open: Stacklar -> Templates -> PDF Templates; Stacklar -> Settings -> PDF Fonts; Submit action: Generate PDF

Choose a PDF template, map its tokens, and set the generated file name.
Upload and assign a compatible font when the PDF needs additional character support.

Configure the Output: PDF Generation

  1. Create and publish a PDF Template under Stacklar -> Templates -> PDF Templates.
  2. In the Submit block, add Generate PDF, select the PDF template, and map each template token to a form field ID.
  3. Set the File name pattern with supported tokens, then edit the Success message and Error message when needed.
  4. 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.

Official reference: WordPress wp_mail reference.