Gravity Forms (Word) Documents

Description
SP Gravity Forms DOCx — turn every form submission into a finished Word document
Use Gravity Forms as the front-end to fill your own Microsoft Word (DOCX) templates with the values of each entry, and get a ready-to-send DOCX (and optionally HTML) file the moment the form is submitted. Every form can hold several independent feeds — one template per feed — so a single form can produce a contract, a confirmation letter and an invoice at once.
Built on the proven phpOffice/phpWord engine (bundled — nothing is fetched from a CDN). Generated files are mapped from your form fields, can be output as merge tags, attached to notification e-mails and downloaded through a secure, access-controlled handler with a per-entry token.
Why you’ll love it
- Fill Word templates automatically. Map your form fields onto the placeholders of an uploaded .docx template — the entry values are written straight into the document.
- ️ Several templates per form. Each form can hold multiple feeds, each with its own template, output filename and conditions.
- DOCX and/or HTML output. Generate a Word document, an HTML rendering, or both — per feed.
- ️ Image & signature placeholders. Map upload / post-image fields and the Gravity Forms Signature add-on onto image placeholders in the template.
- ️ Dynamic filenames. Name the generated file with merge tags (e.g. by an entry field), or leave it empty for an automatic, collision-free SHA1 name.
- Merge tags for links & paths. Drop the generated document’s URL or server path into confirmations, notifications and anywhere merge tags are available.
- ✉️ Attach to notifications. Tick a box per feed to attach the generated DOCX / HTML file to any Gravity Forms notification e-mail.
- Secure, access-controlled downloads. Files are never linked directly — they are streamed through an admin-post handler, released only to authorized users or via an unguessable per-entry token, and the output folder is sealed against direct web access.
- Always in sync. Regenerates on entry edit (incl. GravityView Edit Entry) and cleans up the files when entries or forms are deleted.
- Translatable. Text domain gravityforms_docx; German translation included, .pot template shipped.
How it works
- Create a Word template and insert ${placeholder} tags where the form values should go.
- On your form, add a DOCx feed and upload the template.
- Map your form fields onto the template placeholders (text and image fields).
- Choose whether to generate a DOCX, an HTML file, or both.
- Submit the form — the finished document is generated instantly, linked on the entry, available as merge tags and (optionally) attached to your notifications.
Merge tags
- {gfdocs-docx-url-ID} — secure download URL of the DOCX file.
- {gfdocs-docx-file-ID} — absolute server path of the DOCX file.
- {gfdocs-html-url-ID} — secure download URL of the HTML file.
- {gfdocs-html-file-ID} — absolute server path of the HTML file.
The url tags carry the entry’s download token, so they work in confirmations and notification e-mails even for logged-out recipients.
Smart value handling
- Values are formatted the way Gravity Forms displays them (text, number, date, time, post and pricing fields).
- HTML is stripped down to line breaks; <br> becomes a Word line break.
- Multi-value fields are addressable per value as ${key:0}, ${key:1}, …
What’s included
- The plugin (feed add-on: templates, field mapping, DOCX / HTML generation, secure downloads).
- Bundled phpOffice/phpWord 1.4 (no external dependency).
- Example Word templates to get you started.
- English and German translations (text domain gravityforms_docx).
- Full documentation in English and German (README + feature overview).
Requirements & compatibility
- WordPress 5.0+ (tested on current 6.x / 7.0)
- Gravity Forms 2.10+
- PHP 7.4+
Changelog
4.0.3
- Completed the rename to “DOCx” (plugin, files, classes and text domain); added the missing plugin-header fields and hardened the code against the WordPress Plugin Check (escaping, sanitization, WP filesystem helpers).
- German translation renamed to the new text domain and a .pot template added.
4.0.2
- Generated files are now streamed through an access-controlled download handler (capability or per-entry token); the output directory is sealed against direct web access.
4.0.1
- Code-style refactoring and cleanup-routine bugfixes.
4.0.0
- Updated to WordPress 7.0, Gravity Forms 2.10 and phpOffice/phpWord 1.4.
| Type | WordPress Plugin |
|---|---|
| Author | naranili |
| Category | Wordpress / Forms |
| Price | $45 |
| Sales | 485 |
| Rating | 3.63 from 19 ratings |
| Published | Mar 7, 2017 |
| Last Update | Jul 11, 2026 |
| Compatible Browsers | Firefox, Safari, Opera, Chrome, Edge |
| Compatible Software | WordPress 7.0.x, WordPress 6.9.x, WordPress 6.8.x, WordPress 6.7.x, WordPress 6.6.x, WordPress 6.5.x |
| Compatible With | Gravity Forms |
| Source Files Included | HTML, CSS, PHP |
External listing. code.market does not sell this product and does not process payment for it. Pricing, payment, delivery, licensing, refunds, and support are handled by the third-party merchant on its own website. We may earn an affiliate commission from a referral. Details.
Products of the Week.
Submit🥇
STOP GUESSING WHAT TO POST
AI that learns your brand voice and builds a month of consistent, on-brand social content: carousels, posts and hooks that sound like you, not like everyone else's AI.
SaaS · 3,900 views · 35 clicksSaaS · Week 45 · 3,900 views · 35 clicks
🥈
Conversational Backlinks for Busy Founders
Place Backlink Relevant Conversation for your domain across Forums and Conversations
Website · 41,515 views · 222 clicksWebsite · Week 45 · 41,515 views · 222 clicks
🥉
upvote.club
Free Social Media Engagement that Helps Boost Your Content. Upvote Club supports 19 social networks with 100+ engagement actions in one dashboard. Add links to your posts and get free engagement from real users.
SaaS · 39,548 views · 114 clicksSaaS · Week 45 · 39,548 views · 114 clicks
#4
Substack Posting API
Onboard your Agent to Substack. Write Publish on Substack via API
SaaS · 58,582 views · 198 clicksSaaS · Week 45 · 58,582 views · 198 clicks
#5
Seenshot App
Free, Fast, MacOS Screenshot app. Make Screenshot cmd+shift+2 and send it via link
Desktop App · 27,963 views · 121 clicksDesktop App · Week 45 · 27,963 views · 121 clicks
#6
Hand-Placed Backlinks $9.99 per link. Flat rate.
Buy hand-placed forum, Q-A and directory backlinks. Flat $9.99 per link, no subscriptions — you only pay for approved listings.
Website · 3,827 views · 19 clicksWebsite · Week 45 · 3,827 views · 19 clicks
#7
Free Invoice Generator - PDF Invoices in Your Browser, No Sign-Up
A free invoice maker for freelancers and small businesses: fill in the invoice, check the live preview, and download a PDF that looks exactly like it. Any currency, tax per item, three templates, no sign-up, and nothing leaves your device.
2,508 views · 17 clicksWeek 45 · 2,508 views · 17 clicks
#8
Merge PDF Files Free - Combine PDFs in Your Browser, No Upload
A free PDF merger for office workers, students, and freelancers: combine PDFs and images into one file in the browser, reorder files and pages, pick page ranges, keep bookmarks, and open password-protected PDFs. Nothing is uploaded, no sign-up, no watermark.
2,334 views · 13 clicksWeek 45 · 2,334 views · 13 clicks