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.
Help fund development
(recommended) Recurring Patreon sponsorship, starting at US$5/month:
One-time Ko-Fi sponsorship, starting at US$3:
You can also contact wizonesolutions if you need an invoice or a more formalized agreement.
Roadmap
- Port PDF security options to Drupal 8. These were originally sponsored for Drupal 7 specifically, see #2948793: Support PDF security in pdftk
- Add deeper integration with Entity / Field API to make it easier to trigger FillPDF, see #2343507: FillPDF field.
- Provide an #3054909: Upgrade path to 8.x-4.x.
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
Project information
- Module categories: Content Editing Experience, E-commerce, Site Structure
- 2,110 sites report using this module
- Created by lefnire on , updated
- Drupal 10 is here!
Branch 5.1.x is compatible with Drupal 10.
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
Development version: 5.1.x-dev updated 6 Mar 2024 at 15:11 UTC
Compatible with pdftk 3; works with Rules
Development version: 7.x-1.x-dev updated 14 Sep 2023 at 03:16 UTC