PDF Forms Filler for Contact Form 7


This plugin gives WordPress Admin Panel users the ability to add fillable PDF attachments to email messages of Contact Form 7.

If the PDF attachment has a PDF form, the plugin allows users to add fields to the CF7 form and/or link them to fields in the PDF. The plugin also allows the attached PDF files to be embedded with images supplied by the CF7 form fields.

When your website visitor submits the CF7 form, the form in the PDF file is filled with CF7 form information, images are embedded and the resulting PDF file is attached to the CF7 email message.

An external web API (https://pdf.ninja) is used for filling PDF forms (free usage has limitations). An Enterprise Extension, which enables performing all PDF operations locally on your web server (no external web API), is available upon request.

Known problems,
* Many UTF-8 (non-latin) characters don’t render properly after being filled. Almost always the problem lies with the PDF viewers not rendering the text correctly. There is a workaround in the works, however, currently it remains unimplemented.
* Some third party plugins break the functionality of this plugin (see a list below). Try troubleshooting the problem by disabling likely plugins that may cause issues, such as plugins that modify WordPress or Contact Form 7 in radical ways.
* Possible issues with checkbox multiselect

Known incompatible plugins,
* Contact Form 7 Live Preview
* Smart Grid-Layout Design for Contact Form 7
* Open external links in a new window
* Contact Form 7 Multi-step Pro (partial compatibility)
* WordPress Multilingual Plugin

Special thanks to the following sponsors of this plugin,
* BrowserStack
* Momentum3


  • PDF Form button is available to access PDF attachments interface
  • Form-tag Generator interface that allows users to upload and attach PDF files and generate tags
  • Email message in Thunderbird with the attached PDF file


  1. Install the Contact Form 7 plugin.
  2. Upload this plugin’s folder to the /wp-content/plugins/ directory, or install the plugin through the WordPress plugins screen directly.
  3. Activate the plugin through the ‘Plugins’ screen in WordPress
  4. Start using the ‘PDF Form’ button in the CF7 form editor


Does this plugin allow my website users to work with PDF files?

No. This plugin adds features to the Contact Form 7 interface in the WordPress Admin Panel only.

Does this plugin require special software installation on the web server?

No. The plugin uses core WordPress features only. No special software or PHP extensions are needed. Working with PDF files is done through Pdf.Ninja API. It is recommended to have a working SSL/TLS certificate verification with cURL.

How are the CF7 form fields mapped to the PDF form fields?

There are two ways to map fields with this plugin. The field mapper tool allows you to map fields individually and, when needed, generate new CF7 fields on the fly. The tag generator tool maps to the fields in the PDF form using the random looking code in the CF7 field name that it generates.  Here is the format: pdf-field-{attachment-id}-{human-readable-field-name}-{random-looking-code}. The ‘{attachment-id}’ can be ‘all’ to allow it to map to all PDFs attached to the CF7 form (in case you ever want to swap out the PDF file without needing to fix the generated tags).  If you remove the random looking code, the field will no longer be mapped to the field in the PDF.

My fields are not getting filled, what is wrong?

If you reuploaded the PDF file and your mapping was using the old file ID then your mapping will no longer work and you will need to recreate it.
If you are using the field mapper tool, make sure the mapping exists in the list of mappings and the field names match. If you are using the tag generator tool, make sure the attachment ID matches (or is ‘all’) and the base64-encoded part of the tag name is unchanged.
If you renamed the PDF field, you will need to remove the old mapping and recreate the mapping with the new name.

How do I remove the watermark in the filled PDF files?

Please see the Pdf.Ninja API website and the Enterprise Extension plugin.

How do I set up PDF form filling on my local web server?

Please see the Enterprise Extension plugin.


25 september 2018
This is a good and, if you need to fill in PDFs from the front end, useful plugin. The video tutorial needs a lot of work. It sounds like a text-to-voice implementation and runs so fast it is hard to keep up. But it hits the high points. When I figured out for my simple requirement I did not need all the "tools" it was a lot easier to set up. I created a CF7 form based on a PDF template I use. I was careful to give the CF7 form field names that matched exactly, the PDF form field names to make mapping easier. And it was a snap. Insert and Use all button worked perfectly. When I tested the CF7 form it worked perfectly and nano seconds later I received an email with the PDF form - filled in with data submitted on the CF7 form. The ONLY problem - for me - is that it watermarks the PDFs unless you lease the pro version. Lease as it pay yearly. Since I prefer not to use subscription software, this was not the solution I needed. If your preferences are different and you need to be able to fill in a PDF from the front end, this worked perfectly and without a lot of difficulty.
18 februari 2018
Great and works great! Thank you very much for creating such a plugin, which is essential for our association. It's very professional We are French, and create very complex type CERFA form with a beautiful design : https://resatest.fr/formulaires-cerfa The plugin fits perfectly, it's great. I will finish test and buy, if all goes well in the week. (---SUGGESTION : It would be nice to modulate the type: collonnes, fields, side by side etc ...) instead of putting the fields one below the other.)
16 november 2017
One of the best plugins i ever used. I recommend to buy the enterprise extension or the pro version. Its so easy filling up pdf forms .... 🙂 Great stuff.-.. And wenn u have any problems, the support was really fast. 10 Points 🙂
19 oktober 2017
Perfect for my needs. I love that you can use an existing PDF with forms rather than having to create an entirely new one via templates like Gravity.
Lees alle 6 beoordelingen

Bijdragers & ontwikkelaars

“PDF Forms Filler for Contact Form 7” is open source software. De volgende personen hebben bijgedragen aan deze plugin.




  • Release date: September 27, 2019

  • Added a number of optimizations, bug fixes and improvements

  • Updated the lists of conflicting plugins and sponsors
  • Added an option for saving the filled PDF on the server
  • Added an option for allowing users to download the filled PDFs
  • Added integration with WP media library
  • Added code to add pipe to CF7 tags to prevent user confusion with singular options
  • Fixed CF7 tag generation code’s field value escape issue
  • Renamed text domain to plugin slug


  • Release date: February 12, 2019

  • Added filename option with mail-tags feature

  • Minor fixes and improvements


  • Release date: January 15, 2019

  • Bug fixes and improvements


  • Release date: April 6, 2018

  • Major plugin refactoring

  • Added image embedding tool
  • Added help boxes
  • A large number of bug fixes, optimizations and UX improvements
  • Added Enterprise Extension support checking


  • Release date: February 17, 2018

  • Crash fix


  • Release date: February 13, 2018

  • Added bulk tag insertion feature to field mapper tool, special thanks to Momentum3 (http://momentum3.biz/) for sponsoring this feature

  • Bug fixes and improvements


  • Release date: February 5, 2018

  • Added flatten option

  • Fixed a possible timeout issue with large PDF files
  • Other minor fixes


  • Release date: December 19, 2017

  • Added a feature that allows changing Pdf.Ninja web API URL

  • Added a feature that allows disabling Pdf.Ninja web API TLS certificate verification
  • Bug fixes


  • Release date: December 2, 2017

  • Bug fixes


  • Release date: November 26, 2017

  • Bug fix


  • Release date: November 24, 2017

  • Added field mapper tool

  • Added wildcard field mapping
  • Many bug fixes and improvements


  • Release date: November 15, 2017

  • Added attachments to secondary CF7 email message

  • Added options that allow user to control which email message filled PDFs get attached to
  • Updated minimum WP version requirement
  • Minor refactoring and other improvements


  • Release date: November 13, 2017

  • Added ‘skip when empty’ option

  • Added support for PHP 5.2 and 5.3
  • Added plugin action links
  • Other minor fixes


  • Release date: October 20, 2017

  • Fixed a small issue


  • Release date: October 9, 2017

  • Added a help message to tag generator window


  • Release date: September 12, 2017

  • Added support for PDF field flags

  • Improved tag generation


  • Release date: August 17, 2017

  • Minor refactoring and fixes


  • Release date: August 7, 2017

  • Improved tag generation code


  • Release date: June 13, 2017

  • Bug fixes


  • Release date: June 12, 2017

  • Bug fixes


  • Release date: May 18, 2017

  • Bug fixes and other minor improvements


  • Release date: April 13, 2017

  • Added i18n support

  • Minor UX improvement


  • Release date: March 28, 2017

  • Removed unnecessary files to save disk space