Description
Encryption That Happens Before the Entry Is Saved
If you run rental applications, loan pre-qualifications, volunteer screenings or any other form that asks for a Social Security number, this one is for you. The Gravity Forms Field Privacy Add-On encrypts the fields you mark before Gravity Forms writes the entry to your database, so sensitive values never sit there as plain text. Dates of birth, license numbers and addresses get the same treatment.
Encryption uses libsodium, with a key that you generate and keep. That last part matters. The key is yours, and nobody else holds a copy of it. If you lose it, the protected values cannot be recovered, so the settings page asks you to store it somewhere safe and shows clear warnings whenever the key is missing or invalid.
Here is the part people tend to like most. Encryption doesn’t lock your own team out. Logged-in reviewers still see the complete value on the entry screen and in the Gravity Flow inbox, each protected field tagged with an Encrypted label so nobody wonders what they’re looking at. Meanwhile, notifications, merge tags and PDFs built from merge tags display a mask, such as ***-**-6789, rather than the whole number.
Redaction That Is Permanent
Some data only needs to exist for a short time. A background check needs the full Social Security number once, then it becomes a liability. The Gravity Forms Field Privacy Add-On lets you replace the full value with its mask for good, after a Gravity Flow step or after another add-on’s feed finishes successfully. Redacted fields keep their mask and carry a Redacted label. An entry note records what triggered the redaction, which gives you a trail when someone asks later what happened to the original value.
Complete Feature Set
Everything is controlled from the form editor and a single settings page. Nothing requires custom code.
- Encrypt at rest setting on each field, found in the Advanced tab of the field settings.
- Output choice per field: Masked, Hidden or Full value for what appears in emails and PDFs.
- Masks that match the data: the last four digits of a Social Security number, a partial email address, a starred date, or the last four characters of other text.
- Address-aware masking: street lines are hidden, and the ZIP shows only its last two digits. Mixed text is not forced into the Social Security number pattern.
- No Duplicates support, so the Gravity Forms duplicate check keeps working on encrypted fields. The duplicate message never repeats the value a person submitted.
- Redaction after a Gravity Flow step using a dedicated Redact privacy fields step.
- Redaction after a feed succeeds, for add-ons such as Webhooks or a CRM connection, through a checkbox on the feed.
- Key generation from the Field Privacy settings page with one button.
- Editor notice at the top of the form editor that counts how many fields are encrypted.
- Status labels: Encrypted in the form editor, and Encrypted or Redacted on the entry detail page and in the Gravity Flow inbox.
Why the Masks Are Sensible
A single generic mask would be a poor fit for forms that collect several kinds of data. Showing the last four of a date of birth means nothing, and showing a street address with only a few characters hidden still points to a house. Each field type gets its own treatment, so an email stays recognizable enough to confirm in a notification, while a street line disappears completely.
The duplicate handling deserves a mention too. Encrypting a field normally breaks any check that compares stored values, and a lot of forms depend on that check to stop repeat submissions. This add-on keeps the check working and words the rejection message so it never echoes the sensitive entry back to the visitor.
How It Fits Your Workflow
Setup takes a few minutes. Open OpenForms and go to Settings, then Field Privacy, and click Generate encryption key. The page shows a line of configuration; copy it, and keep a separate copy of the key somewhere safe. After that, open any form in the editor, select a sensitive field, go to the Advanced tab and tick Encrypt at rest. Pick what emails and PDFs should show: a mask, nothing, or the full value.
From then on, the form behaves as it did before, with a few differences you’ll notice quickly. Submitted values are encrypted before saving. Reviewers open the entry and see the real data. Notifications go out with each field’s mask. A notice at the top of the editor tells you how many fields are protected, which is handy when a form has been edited by several people.
A Rental Application, Start to Finish
Say a property manager collects a Social Security number for a background check. The applicant submits the form, and the number is encrypted immediately. The manager sees the full value inside the entry and the Gravity Flow inbox and sends it to the screening service. The confirmation email to the applicant shows ***-**-6789 and nothing more.
Once the check is finished, a Redact privacy fields step in the Gravity Flow workflow replaces the stored number with its mask. If the check runs through another add-on’s feed, such as a Webhooks request, the same result comes from ticking Redact privacy fields after this feed succeeds. Either way, the entry note shows what caused it, and the entry keeps its Redacted label.
Ideal Use Cases
Property Managers and Leasing Offices
Applications collect identity numbers, birth dates, current addresses and driver’s license details. Encrypting those fields and redacting them after screening means a leaked database export or an overshared PDF reveals far less.
HR Teams and Recruiters
Onboarding forms often ask for a Social Security number for payroll setup. Reviewers need the number once, in the right place. After the payroll step in Gravity Flow completes, the full value can be replaced by its mask, leaving the rest of the entry intact.
Agencies Building Forms for Clients
If you build forms for clients in lending, healthcare administration or education, this gives you a straightforward answer to the question of where sensitive values live. You mark the fields, choose the mask, and add a redaction step where the client’s process allows it.
Teams Passing Data to a CRM or Webhook
Once the data has been delivered to its destination, there is little reason to keep a second full copy on your WordPress site. Redacting after the feed succeeds removes that copy automatically.
Frequently Asked Questions
What happens if I lose the encryption key?
Encrypted values can’t be read without it, and the add-on has no way to recover them. That is why the settings page prompts you to copy the key and store it safely, and why it warns you when the key is missing or invalid. Treat it like a password for your most sensitive data.
Can I still search for or block duplicate entries on an encrypted field?
Yes. The No Duplicates setting in Gravity Forms continues to work on encrypted fields. When a duplicate is found, the message shown to the visitor does not repeat the value they typed, so a Social Security number never appears in an error notice.
Is redaction reversible, and is the add-on licensed under the GPL?
Redaction is permanent. After a Gravity Flow step or a successful feed replaces the full value with its mask, the original is gone, and an entry note records the trigger. Plan your workflow so the redaction step comes after every process that needs the real number. The Gravity Forms Field Privacy Add-On WordPress plugin is released under the GPL, so you can use it across your own sites and client projects under the terms of that license.

