CFDB7 Export PDF Add-on

Download contact forms data from the WordPress database to a PDF file.

 

How to export PDF files (Contact form 7 - CFDB7)?

Just click the 'Download PDF' button on the submission details page to download a single contact form entry as a PDF.
If you click the 'Export PDF' button on the submissions list page, you can download up to 100 contact form entries in a single PDF file.

Then, go to the next page and repeat the process to download the next 100 entries.

 

Demo Submission: Default-demo.pdf

Demo PDF ( Customised ): Custom.pdf

Template File: Zip File

 

How to customize the PDF template?

This plugin uses the mpdf library. We can customize the default PDF layout using custom HTML templates.

Create a folder into WordPress > wp-content > themes > {selected theme } > cfdb7-pdf > cfdb7-{id}.php

Example: wp-content/themes/twentynineteen/cfdb7-pdf/cfdb7-125.php

 

Where can I get the Form ID?

Go to wp-admin > Contact (Contact Form 7) > Select form > Check in the browser Address bar.

Example: Form ID is 48

 

You can add the MPDF allowed HTML tags and the MPDF allowed CSS.

You can also add the following shortcodes.

[form_id]: To get form ID

[submission_id]: To get submission ID (Autoincrement from database)

[title]: To get form title

[date]: Submission date

[data]: All input fields

You can print the input field separately by input name.

Example: contact form 7 input shortcode [text your-name], then you can add [you-name] in the template.

 

 

Just $69 for an unlimited installation license.