🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!

Gravity Forms Document Expiry Tracker Setup Guide

Updated 8 min read Gravity Forms Integrations A–Z
On this page
  1. Video walkthrough
  2. What you need
  3. Install and activate
  4. Set up your document types
  5. Add the Documents field to a form
  6. What happens when someone sends documents
  7. How the files are stored
  8. Reminders
  9. Replace links
  10. Reviewing documents
  11. The dashboard
  12. A person’s document history
  13. Let people see their own documents
  14. Settings
  15. How it differs from other GravityExtra add-ons
  16. FAQ
  17. Does the add-on decide whether a document is acceptable?
  18. What if an entry is deleted?
  19. Does it work with multi-page forms?
  20. What does uninstalling remove?

Video walkthrough

Gravity Forms Document Expiry Tracker Setup Guide: Reminders, Replace Links & Review
Video setup guide: Gravity Forms Document Expiry Tracker Watch on YouTube

The Gravity Forms Document Expiry Tracker add-on collects dated documents such as insurance certificates, first aid certificates, trade licences and background checks, keeps every version per person, reminds people before their documents expire and lets them upload a replacement with a personal link. A dashboard shows at a glance which documents are expiring soon, which have expired and which required documents are still missing. This guide covers installing the add-on, setting up document types, adding the Documents field to a form, reminders, replace links, reviewing uploads, the dashboard, the person history and the settings.

What you need

You need Gravity Forms 2.9 or newer and WordPress 6.5 or newer on PHP 7.4 or newer. Everything runs inside your WordPress site: reminders are sent with the Gravity Forms notification system and your normal WordPress mail setup, and the add-on makes no outside connection beyond checking gravityextra.com for your licence and plugin updates.

Viewing the dashboard needs the Gravity Forms view entries capability. Approving or rejecting documents needs edit entries, and changing the document types needs edit settings.

Install and activate

  • Upload the add-on zip in Plugins → Add New → Upload Plugin and activate it.
  • Go to Forms → Settings → Document Expiry, enter your GravityExtra licence key and press Activate License.
  • A new menu item, Forms → Document Expiry, opens the dashboard. A daily job is scheduled for the reminders.

Set up your document types

Open Forms → Document Expiry → Document types. The add-on starts with a few common types that you can rename, change or remove. For each type you set:

  • Name: what people see in the form and in the e-mails, for example “Public liability insurance”.
  • Required: required types are listed as missing on the dashboard for every person who has not uploaded one yet.
  • Remind (days before): one or more numbers of days before the expiry date, for example 60, 30, 7.
  • On expiry day: also send a reminder on the expiry date itself.
  • Expiry date: required, or “No expiry” allowed for documents that do not expire.

Which documents are required, how far ahead to remind and what counts as acceptable is your organisation’s decision. The add-on tracks and reminds; it does not judge whether a document meets any rule.

Add the Documents field to a form

Open a form in the form editor and add the Documents field from the Advanced Fields group. Each row of the field is one document with its type, file, document number, issue date, expiry date (or “No expiry date” when the type allows it) and optional notes. People can add several documents in one submission with Add another document. In the field settings you choose:

  • Document types offered: tick the types this form asks for, or leave all unticked to offer every type.
  • Documents per submission: how many rows a person can add (up to 20).
  • Allowed file extensions: for example pdf, jpg, png. Extensions that Gravity Forms blocks for security are never allowed.
  • Maximum file size in MB, never more than your server allows.

Then open Settings → Document Expiry for the form. Choose the Person e-mail field (documents are kept per person, found by e-mail address or by the WordPress account of a logged-in visitor), the Person name field and, if you work with contractors or suppliers, the Company field. You can also enter the address of the page that shows the form, which is used for replace links. Finally press Add the three default notifications to this form to create ready-made reminder e-mails that you can edit like any other notification.

A contractor documents form with name, e-mail and company, and a Documents field with two rows: public liability insurance and a first aid certificate, each with a file, number, issue date, expiry date and notes
The Documents field: one row per document, with its own file and expiry date.

What happens when someone sends documents

Every row is checked before the form is accepted: the type must be one the form offers, the file must pass the Gravity Forms upload rules for type and size, the expiry date must be a real date after today (and after the issue date), and each type can only be listed once per submission. When the form is sent, each document becomes a record for that person and type. Sending the same type again later adds a new version to the same record, so the history is never lost.

If review is switched on (the default), new documents start as Pending review. An update sent by a visitor who is not logged in as that person and is not using a replace link always waits for review, even when review is switched off.

How the files are stored

Uploaded documents never go to a public folder. Each file is encrypted and saved under a random name in a private folder, wp-content/uploads/gfde-private, which also carries deny rules for Apache and IIS and an empty index file so it cannot be listed. Even on a server that ignores those rules, the stored file cannot be read without the key. If you prefer a folder outside the web root, define GEDE_STORAGE_DIR in wp-config.php before you collect documents.

Files are only handed out through the add-on’s download link, which checks who is asking: people with the view entries capability, or the person the document belongs to. The original file name is used for the download.

Reminders

Reminders are Gravity Forms notifications on three new events: Document expires soon, Document expired and Document approved or rejected. You can change their text, add recipients (for example your office) or add conditional logic like any notification. These merge tags describe the document the e-mail is about:

  • {doc:type}, {doc:number}, {doc:status} and {doc:review_note}
  • {doc:expires} (in your site’s date format) and {doc:days} (days left)
  • {doc:replace_link}: the personal link to upload a new version
  • {doc:name}, {doc:email} and {doc:company} of the person

The daily job looks at every document that has an expiry date. When the day of a reminder comes (for example 30 days before), it sends that reminder once for the current version of the document. If a document is uploaded late, or the site was offline for a few days, only the closest reminder is sent and the earlier ones are skipped, so nobody gets two e-mails at once. A document counts as expired from its expiry date: its status changes to Expired and the “Document expired” e-mail goes out. Rejected documents get no reminders. When a new version is uploaded, its own reminders start fresh.

A reminder e-mail: your public liability insurance expires in 30 days, with the expiry date, the document number and an Upload the new document button
The default reminder with the personal replace link as a button.

The {doc:replace_link} opens the form for that one document: the document type is fixed, only one row is shown, and the upload is saved as a new version of the same record instead of a new document. The link is signed, so changing any part of it makes it invalid. It stops working after the number of days you set (30 by default) and as soon as the document has been replaced. A refused link shows a short message instead of the form.

Reviewing documents

Open a person from the dashboard to review their documents. The current version of each document shows Approve and Reject buttons with a note. A rejection needs a note, which is sent to the person in the “Document approved or rejected” e-mail together with a replace link. The reviewer, time and note are kept with the version. To accept documents as they come in, switch off Review new documents in the settings.

The dashboard

Forms → Document Expiry opens on the documents that need attention. Four tiles count the documents that are expiring soon (within the window you set, 30 days by default), expired, missing (a required type a person has not uploaded) and pending review. Filter the list by state, document type and company, or search by name, e-mail or document number. Export CSV downloads exactly the rows of the current filter; values that a spreadsheet could read as a formula are made safe.

The Document Expiry dashboard with tiles for expiring soon, expired, missing required and pending review, filters, and a list of people, companies, documents, expiry dates and statuses
Who is current, who is expiring, and which required documents are missing.

A person’s document history

The person page lists each document with its status and expiry date and, under it, every version: when it was uploaded and whether it came from the form or a replace link, the number, issue and expiry dates, notes, the file, and the review with the reviewer’s note. A line shows which reminders were sent and when. Required types the person has not uploaded are listed at the bottom.

A person's document history: public liability insurance with a current approved version 2 from a replace link and version 1 kept below it, the reminders that were sent, and a rejected first aid certificate with the reviewer's note
Every version stays on file, with its review and the reminders that were sent.

Let people see their own documents

Put the shortcode [gf_my_documents] on a page for logged-in visitors. It lists the visitor’s own documents with their expiry date, status, file and a Replace link, and the required types they have not uploaded yet. A visitor only ever sees their own records, found through their account or their account’s e-mail address; visitors who are not logged in are asked to log in.

Settings

  • Review new documents (on by default): new and replaced documents wait for approval.
  • “Expiring soon” means within: the dashboard window in days (30 by default).
  • Replace links are valid for: days before a replace link stops working (30 by default).

How it differs from other GravityExtra add-ons

Several add-ons deal with time and follow-ups, so it helps to know which one does what. Entry Expiration deletes old entries after a set time; it does not know about documents or remind anyone. Requests & Reminders chases people for forms they have not submitted yet; it does not track the expiry dates of what they sent. Secure Edit Link lets people edit an entry they already sent, without any expiry logic. Gravity Forms itself has a file upload field but no expiry dates, versions or reminders. Document Expiry Tracker keeps dated documents per person, reminds before they expire and replaces them in place with the history kept.

FAQ

Does the add-on decide whether a document is acceptable?

No. It stores what people send and reminds them about dates. Your team decides what is required and approves or rejects each upload.

What if an entry is deleted?

The document records and files stay. Reminders are sent through the entry the document came from, so a document whose entry was deleted is listed as “not sent (no entry)” in its reminder log; ask the person to upload it again.

Does it work with multi-page forms?

Put the Documents field on the last page, so the files are sent with the final submission.

What does uninstalling remove?

Uninstalling from Forms → Settings → Uninstall removes the add-on’s tables, settings, daily job and the private folder with the stored files. Forms and entries are kept. Download anything you need first.

Still need help?

Our support team answers tickets every day, usually within a few hours.

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr