What does this module do?

Most PDF modules generate PDFs from scratch; FillPDF is not one of those modules. Instead, it lets you fill in existing editable PDFs with data from your Drupal site. Editable PDFs are those forms that let you type into them.

Main features

  • Fill PDFs with entity (e.g. node, taxonomy term, Commerce order, Ubercart order...) and Webform tokens (includes field tokens). (Drupal 7 also has some Ubercart-specific support.)
  • Stamp images (signatures, for example) on to PDFs.
  • Export and import field mappings - useful when a PDF has changed and been re-uploaded
  • Save the generated PDF to a file in public or private storage instead of issuing a download to the user's browser. Or do both.
  • Transform field values: Replace field values after the mappings have been processed. For example, replace 1 with Yes to cause a checkbox to be checked in the PDF, which may need a different value for this than the field provides. Useful if you don't want to change the field values just to satisfy the PDF.
  • Rules integration (Drupal 7-only): This allows you to, for example, send a filled PDF form upon submission of a node. Add Webform Rules for Webform compatibility.

Demo

Try the module out: Simplytest.me

5.1.x and 7.x-1.x are the supported branches

New features will be developed in 5.1.x. There is not yet a migration from Drupal 7 to Drupal 8+. No other branches are maintained.

Installation and usage

Drupal 7 Dependencies

  • Token
  • Entity API (with Entity Tokens submodule): recommended, required for use with non-node entities.

Drupal 8+ Dependencies

  • Token
  • Core modules: File, Views, Serialization, Options

Further resources

  • If the documentation doesn't answer your questions, try searching the issue queue as well.
  • You can likely find some past presentations on the module in Google | DuckDuckGo

Support

  • Issue queue: The most reliable way to get help is the issue queue. This lets other people see your questions and benefit as well. Keep in mind that response time varies. Sometimes you'll get a reply the same day, and other times it may take weeks. You may need to seek paid consulting if you need urgent help.
  • DrupalChat/drupal.org contact form: If you can catch me (wizonesolutions) on DrupalChat, I might have time to answer a quick question. I usually don't. Same goes for the contact form. DrupalChat note: Talk to me publicly if you do. I ignore unexpected private messages.

Paid consulting and support is also an option, subject to availability. Inquire for details.

(recommended) Recurring Patreon sponsorship, starting at US$5/month: Become a Patron!

One-time Ko-Fi sponsorship, starting at US$3: Sponsor FillPDF on Ko-Fi

You can also contact wizonesolutions if you need an invoice or a more formalized agreement.

Roadmap

Who uses FillPDF?

Please get in touch if you'd like to be added to this list.

  • University of Waterloo
  • FillPDF Service (of course!)
  • Many other unnamed souls (see installation count below)

Other Sponsors

  • Tom D. Davidson - sponsored field-value transformation and save-as-file features for Drupal 6
Supporting organizations: 
Project lead's company; facilitates having time to work on module.
Project lead's company; uses the module to provide FillPDF Service API functionality.
Helped with originally getting image stamping functionality working.
Facilitated contributing private file support and some fixes.
Helping with maintenance. Helped get the module cleaned up, security issues fixed, and Webform 4.x token support done.

Project information

Releases