Skip to content

How to create PDF from Contact form submissions ​

The Create PDF feature from the Redirection for Contact Form 7 (available in the Starter plan) enables users to automatically create PDF documents from form submissions.

In this article

How to install it ​

  1. Download the Redirection For Contact Form 7 Extension - Create PDF plugin from your purchase history.

  1. Install the plugin on your site.

Need help installing a plugin? Check this doc for step-by-step details.

  1. In your WordPress dashboard, navigate to CF7 Redirection > Dashboard > Licenses and activate the license. ( The license is also available in your purchase history ).

How to use it ​

  1. Edit the CF7 contact form of your choice.
  2. Navigate to the Actions tab.
  3. Click on the Add Action button and choose the Create PDF action.

  1. Customize the PDF using the extensive options provided by the plugin (content, colors, watermark, footer, and header information).

  1. Click on the Reload PDF button to preview the changes.

  1. Enable the Download pdf after submission option.

  1. Test the form.

  1. Once the form is submitted, a new PDF is automatically created and downloaded for the user.

  1. The final PDF downloaded by the user.

Use a custom font in the PDF ​

  1. In the Create PDF action, open Custom Fonts and add a row with:
    • Font name — use lowercase letters, for example roboto.
    • TTF Regular Font — upload the regular .ttf file.
    • TTF Bold Font — upload the bold .ttf file.

Screenshot: Custom Fonts section in the Create PDF action with Font name, TTF Regular Font, and TTF Bold Font fields

  1. In Pdf structure to create, wrap the text that should use your custom font with the correct font-family style:
html
<span style="font-family:roboto">Your text here</span>
  1. Click Reload PDF to preview the updated font in the PDF output.

Only .ttf files are supported in this section, and only regular and bold variants are available. Any text that does not use your custom font-family continues to use the default PDF font.

Was this helpful?