Skip to content

Create Contact Form 7 forms from PDF forms. Get PDF forms filled automatically and attached to email messages upon form submission on your website.

License

Notifications You must be signed in to change notification settings

sharifdf/pdf-forms-for-contact-form-7

 
 

Repository files navigation

PDF Forms Filler for CF7

Create Contact Form 7 forms from PDF forms. Get PDF forms filled automatically and attached to email messages upon form submission on your website. Embed images in PDF files.

Description

PDF Forms Filler for CF7 Tutorial

This plugin gives WordPress Admin Dashboard users the ability to add fillable PDF attachments to email messages and form submission responses of Contact Form 7.

If the PDF attachment has a PDF form, the plugin allows users to add fields to the Contact Form 7 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 Contact Form 7 form fields. The filled PDF files can be saved on the web server.

When your website visitor submits your Contact Form 7 form, the form in the PDF file is filled with the form information, images are embedded and the resulting PDF file is attached to the Contact Form 7 email message. The resulting PDF file can also be downloaded by your website visitors if this option is enabled in your form's options.

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.

Requirements:

  • PHP 5.2 or newer
  • WordPress 4.8 or newer
  • Contact Form 7 5.0 or newer
  • IE 11 (or equivalent) or newer

Known problems:

  • Some UTF-8 (non-latin) characters, checkboxes and radio buttons don't render properly after being filled. Almost always the problem lies with the PDF viewers not rendering them correctly. There is a workaround in the works, however, currently it remains in development.
  • 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.
  • Some image optimization plugins optimize PDFs and strip PDF forms from PDF files. This may cause your existing forms to break at a random point in the future (when PDF file cache times out at the API).
  • Multi-select checkbox fields are not currently supported. Support is planned in the future.

Known incompatible plugins:

Installation

  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

Screenshots

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

Special Thanks

Special thanks to the following sponsors of this plugin,

BrowserStack

BrowserStack

Momentum3

G-FITTINGS GmbH

About

Create Contact Form 7 forms from PDF forms. Get PDF forms filled automatically and attached to email messages upon form submission on your website.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 78.5%
  • JavaScript 15.4%
  • HTML 4.6%
  • CSS 1.5%