Skip to main content
Version: Divi 4

PDF Generator

What PDF Generator does

Use PDF Generator to build a PDF from each successful form submission. You can:

  • design the template with the visual PDF editor
  • insert merge tags so each submission prints different values
  • attach the PDF to notification and/or confirmation emails
  • show a secure download link in the success notice
  • store PDFs temporarily or permanently
info

Open PDF Generator in the Form module under Content settings.

Basic setup flow

  1. Turn on Enable PDF Generation.
  2. Open the PDF editor and create your layout.
  3. Save the template and assign it to the form.
  4. Choose where the PDF should be delivered:
    • attach to Email Notification
    • attach to Email Confirmation
    • add a download link in the Success Notice
  5. Submit a test entry and confirm the generated file output.

Add dynamic content with merge tags

Use merge tags in text content with this format:

  • %%field_id%%

field_id must match your field's Field ID (see Shared field settings).

Common examples

  • Name: %%first_name%% %%last_name%%
  • Email: %%email%%
  • Submitted: %%pdf_date%% %%pdf_time%%
  • Reference: %%pdf_invoice_number%%

Built-in PDF merge tags

Use these in templates, email templates, filenames, or notices (where relevant):

  • %%form_id%%
  • %%pdf_entry_id%%
  • %%pdf_form_title%%
  • %%pdf_date%%
  • %%pdf_time%%
  • %%pdf_site_name%%
  • %%pdf_invoice_number%%
  • %%pdf_download_link%%
tip

If a merge tag shows blank output, verify the exact Field ID and submit a new test entry.

Attach the PDF to outgoing emails

You can send the generated PDF on:

  • Email Notification (admin/internal recipients)
  • Email Confirmation (submitter email)

If that email channel is disabled, no attachment is sent on that channel.

To display an immediate download option after submit:

  1. Enable PDF Generator.
  2. Enable the PDF download-link option in PDF settings.
  3. In the success message, include this merge tag: %%pdf_download_link%%.

Example success message:

Thanks for your submission. Download your PDF: %%pdf_download_link%%

See full notice setup in Notices.

Storage options

Choose how generated files are stored:

  • Temporary storage: better for short-lived access and lower disk usage.
  • Permanent storage: better for long-term records and later downloads.

Pick the option that matches your retention and compliance requirements.

What's Next