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

Gravity Forms Find & Replace Setup Guide

Updated 7 min read Gravity Forms Integrations A–Z
On this page
  1. Video walkthrough
  2. What you need
  3. Install and activate
  4. Set up a search
  5. Read the preview
  6. Apply the ticked matches
  7. Renaming choice values safely
  8. Undo a run
  9. Settings
  10. Tips
  11. FAQ
  12. Does it change my entries?
  13. Can it break my feeds?
  14. What happens if I edit a form between the preview and Apply?
  15. Does it work with very long texts?
  16. What does uninstalling remove?

Video walkthrough

Gravity Forms Find & Replace Setup Guide: Change Text Across Forms with Preview & Undo
Video setup guide: Gravity Forms Find & Replace Watch on YouTube

The Gravity Forms Find & Replace add-on changes text, e-mail addresses and URLs across all your forms in one run. It searches form titles and descriptions, fields, choices, notifications, confirmations, form settings text and safe feed texts, shows every match in a before / after preview, and only writes the matches you tick. Every form it changes is backed up first, and each run can be undone with one click. This guide covers installing it, running a search, reading the preview, applying, renaming choice values safely, undoing a run 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 admin; there is nothing to install on the server and no command line. The add-on makes no outside connection beyond checking gravityextra.com for your licence and plugin updates.

Searching and previewing needs the Gravity Forms edit forms capability. Applying a change and undoing a run also need the WordPress manage options capability, which administrators have.

Install and activate

  • Upload the add-on zip in Plugins → Add New → Upload Plugin and activate it.
  • Go to Forms → Settings → Find & Replace, enter your GravityExtra licence key and press Activate License.
  • A new menu item, Forms → Find & Replace, opens the tool.

Without an active licence the screen only shows a note with a link to the licence settings, and searching, applying, undoing and the CSV export are switched off.

The Find & Replace screen: find and replace boxes, match case, whole word and regular expression options, the places to search and the form picker
The search screen: what to find, the options, where to search and which forms.

Type the text to find in Find and the new text in Replace with. Leave Replace with empty to remove the text. Then choose the options:

  • Match case — only finds text with the same upper and lower case. Off by default, so Acme also finds ACME.
  • Whole word — skips matches inside longer words, so Lake does not match Lakeside. Works with accented letters too.
  • Regular expression — off by default. When on, the Find box is a PCRE pattern and the replacement can use $1, $2 (or ${1}) for the groups. The pattern is checked before it runs: invalid patterns and patterns that match empty text are refused with a clear message, and every pattern runs with a safety limit so a slow pattern cannot hang your site.

Under Search in tick the places to search:

  • Form title & description.
  • Fields — labels, admin labels, descriptions, placeholders, default values, HTML field content, custom validation messages, consent checkbox text, page button text and sub-labels of fields such as Name and Address.
  • Choice text — what visitors see in drop-downs, radio buttons and checkboxes.
  • Choice VALUES — off by default; see Renaming choice values safely below.
  • Notifications — send to (when it is a typed address), routing e-mail addresses, from, from name, reply-to, CC, BCC, subject, message and name.
  • Confirmations — message, redirect URL, query string and name. The page of a page confirmation is never changed.
  • Form settings text — submit button text, last page button text, save and continue link text, page names and the entry limit, schedule and require-login messages.
  • Feeds (safe text only) — the feed name, and the message or subject texts of known feed types. IDs, API keys, tokens, field maps, lists, accounts, channels, webhook URLs and e-mail mappings are never read or changed.

Under Forms keep All forms or pick Only these forms and tick the forms you want. Active and inactive forms are both listed; trashed forms are never searched.

Read the preview

Press Search and preview. Nothing is written yet. The summary shows how many matches were found, in how many places and forms. Below it each form has its own panel, and each location (for example Notification “Admin”: subject) lists its matches with the text around them: the old text in red, struck through, and the new text in green.

The preview: every match grouped by form and location with a red before and green after diff and a tickbox, plus the Apply selected bar
Every match with its own tickbox and a before / after diff, grouped by form.

Every match has its own tickbox and all are ticked by default. Untick the matches that should stay, or use Tick all in this form to switch a whole form on or off. The bar at the bottom shows how many matches are ticked.

Need a list for an audit instead of a change? Press Search only: export CSV. You get a spreadsheet with one row per match: form ID, form, area, location, the match, the text around it and the replacement. Cells that start with a formula character are neutralised so the file is safe to open in spreadsheet apps.

Apply the ticked matches

Press Apply selected and confirm. The add-on then:

  • re-reads each form and checks every ticked value against the preview. A value that was edited since the preview is skipped and listed, never overwritten;
  • saves an exact backup of every form it will change: the title, the form settings and fields, the notifications, the confirmations and every feed it touches;
  • writes the changes through GFAPI::update_form and GFAPI::update_feed, so Gravity Forms clears its caches and runs its own hooks;
  • logs the run and shows a message with the number of changes and an Undo this run button.

Entries are never touched: stored submissions keep exactly what visitors sent.

Renaming choice values safely

A choice value is what Gravity Forms stores in entries and what conditional logic compares against, so it is not searched unless you tick Choice VALUES. When you do, a new option appears: Update references too, on by default.

A choice value rename in the preview, listing the conditional logic, feed condition, conditional shortcode and calculation that use the old value
A choice value rename lists every place that tests the old value.

For each value that would change, the preview lists the places that use the old value:

  • conditional logic of fields, page buttons and the submit button;
  • notification and confirmation conditional logic, and notification routing rules;
  • feed conditions;
  • conditional shortcodes in notification and confirmation messages that test the field, including merge tags with modifiers such as :value;
  • calculations that use the field (listed to check by hand, never changed automatically);
  • rules that only test part of the value, such as contains (listed to check by hand).

With Update references too on, every exact reference is updated to the new value in the same run, so your logic keeps working. With it off, the preview warns that this logic would stop matching. Changing only the choice text never changes the value, so existing logic and entries are not affected.

Undo a run

The Runs tab: each run with time, user, find and replace text, options, number of changes, status and an Undo button
The Runs tab with one-click undo for every run.

Open the Runs & undo tab. Each run shows when it ran and who ran it, the find and replace text, the options and places searched, how many changes were made in how many forms (with a Where list) and its status. Press Undo on a run to put every form it changed back exactly as it was before the run, byte for byte, including the feeds it touched.

If one of those forms was edited after the run, the add-on tells you which forms and asks before it goes ahead, because the undo would also remove those later edits. Cancel to keep everything as it is. To undo several runs, undo them newest first.

Settings

In Forms → Settings → Find & Replace, Keep backups for (days) sets how long the backups of each run are kept (30 days by default, 1 to 3650). After that the run stays in the log marked Backup expired, but it can no longer be undone.

Tips

  • For a domain move, search for the full old address, for example http://staging.yoursite.com, and replace it with the live address. A regular expression such as http://staging\.(yoursite\.com) with https://$1 keeps the rest of each URL.
  • For an e-mail change, turn on Whole word so ann@company.com does not also match joann@company.com.
  • Run a search-only CSV export first when several people manage your forms, and share it before you apply.
  • Keep each run small and focused: one run per change makes the Runs log easy to read and each undo precise.

FAQ

Does it change my entries?

No. Entries and their stored values are never read or changed by a run or by an undo.

Can it break my feeds?

Feeds are only searched in plain-text settings on an allowlist, such as the feed name or the message of a chat notification. IDs, keys, tokens, field maps and other connection settings are never read or written, even if they contain the search text.

What happens if I edit a form between the preview and Apply?

Each value is checked again when you apply. A value that changed since the preview is skipped and listed in the result, so a newer edit is never overwritten.

Does it work with very long texts?

Values up to 200 KB are searched. Longer values are skipped and listed in the preview. The preview lists up to 5,000 matches at a time; narrow the search or apply in batches for more.

What does uninstalling remove?

The add-on’s own run log and backups and its settings. Your forms stay exactly as they are.

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