PDF Forms Filler for WPForms

Descriere

This plugin allows WPForms users to add PDF attachments filled with form submission data to notifications and confirmations of WPForms.

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

When your website visitor submits your WPForms 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 WPForms notification. 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).

Requirements:
* PHP 5.5 or newer
* WordPress 5.4 or newer
* WPForms 1.6.9 or newer
* Chrome 60, Firefox 56 (or equivalent) or newer

Known problems:
* Imagify (strips forms from PDF files)
* ShortPixel Image Optimizer (strips forms from PDF files)

Special thanks to the following sponsors of this plugin:
* BrowserStack

Capturi ecran

  • PDF Forms section is available to access PDF attachments interface
  • PDF attachment interface that allows users to attach PDF files and set attachment options
  • Field Mapper Tool that allows users to generate and map fields, smart tags and values
  • Image Embedding Tool that allows users to embed images into PDFs
  • Filled PDF file

Instalare

  1. Install the WPForms 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 Forms’ section in the WPForms editor under settings.

Întrebări frecvente

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

No. This plugin adds features to the WPForms interface in the WordPress Admin Panel only.

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

No. The plugin uses core WordPress and WPForms 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 validation with cURL.

How are WPForms form fields mapped to PDF form fields?

The field mapper tool allows you to map fields individually and, when needed, generate new WPForms fields on the fly. WPForms fields can be mapped to multiple PDF fields. Mappings can be associated with a specific PDF attachment or all PDF attachments. Field value mappings can also be created, allowing filled PDF fields to be filled with data that differs from the originally filled values.

My fields are not getting filled, what is wrong?

Make sure the mapping exists in the list of mappings and the field names match. If you reuploaded and reattached your PDF file and your mappings were using the old attachment ID then your mappings will no longer work and you will need to recreate them. Sometimes PDF form fields have validation scripts which prevent value with an incorrect format to be filled in. Date PDF fields must be formatted with a smart tag.

My checkboxes and/or radio buttons are not getting filled, what is wrong?

Make sure your PDF checkbox/radio field’s exported value matches the value of the WPForms form’s checkbox value. Usually, it is „On” or „Yes”. If you need to display a different value in the WPForms form, you will need to create a value mapping.

WPForms allows you to have multiselect checkboxes, however, PDFs can’t have multiple values with checkbox fields. You either need to switch to using a listbox in your PDF or rename your checkboxes such that each has a unique name and then map them appropriately.

Some PDF viewers don’t render checkboxes correctly in some PDF files. You may be able to solve this issue by recreating the PDF in a different PDF editor. If you are still using Pdf.Ninja API v1, switching to v2 may resolve your issue.

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

Please see the Pdf.Ninja API website.

Verificări

Nu există nicio verificare pentru acest modul.

Contributori și dezvoltatori

„PDF Forms Filler for WPForms” este un software open-source. La acest modul au contribuit următoarele persoane.

Contributori

Istoric modificări

1.1.0

  • Release date: December 2, 2022

  • Some fixes were applied that affect the filling process logic. Please check your forms after the update to make sure everything is working as expected if you think they might be affected!

  • Fixed an issue with PDF fields not being cleared with empty CF7 field values (affects prefilled fields in the original PDF file)

  • Fixed an issue: value mappings get applied recursively (affects field value mappings that have matching CF7/PDF values)
  • Bug fix: value mapping fail to work with null values
  • Improved labeling of empty value mapping options
  • Improved PDF attachment affecting action detection
  • Fixed German translation
  • Updated language files
  • Other fixes and improvements

1.0.0

  • Release date: September 9, 2022

  • Initial release