Public Preview

Share a signed, expiring link so a client, teammate, or tester can open and submit a Gravity Forms form without logging in to WordPress. Every entry from the link is marked TEST.

Overview

The Gravity Forms Public Preview Add-On lets anyone you choose test a form without a WordPress account. Turn on public preview for a form and it generates a signed link to a standalone preview page that a client, teammate, or support engineer can open in any browser.

The link works even when the form is inactive, requires login, is scheduled, or has reached its entry limit, so you can collect feedback before a form goes live. Submissions run through the normal Gravity Forms pipeline: entries are created, and notifications, add-on feeds, and payments run as they do on the live form.

Every entry from a preview link is marked TEST on the entry list and entry detail page, gets an entry note, and can be filtered in or out of the entry list and exports. Links expire after the lifetime you set, and you can regenerate or turn off a link at any time to stop it immediately.

Key Benefits

  • Share a form for testing without creating WordPress accounts.
  • Preview inactive, login-required, scheduled, and entry-limited forms before launch.
  • Links expire after 48 hours by default, with a lifetime you can set from 1 hour to a year.
  • Regenerate a link or turn it off to stop the old URL at once.
  • Copy the link from form settings or the Public Preview button in the form editor and entry screens.
  • A TEST indicator, entry note, and Public Preview entry filter keep test submissions separate.
  • Multi-page forms, conditional logic, and calculations work in the preview.

How It Works

In Forms → Settings → Public Preview, set how many hours each link stays valid.

Open a form, go to Settings → Public Preview, and turn on Enable public preview. The link appears right away. Click Copy link, or use the Public Preview button beside Embed and Preview in the form editor.

Send the link to your tester. They see the form on a standalone preview page with a notice that submissions are real, and each submission creates an entry marked TEST.

When testing is done, turn public preview off or regenerate the link, and the old URL stops working. The Public Preview column and view on the forms list show which forms have a working link.

Provide feedback here

Requirements

  • WordPress 6.5 or later
  • Gravity Forms 2.9.24 or later
  • PHP 7.4 or later

Changelog

0.1.0-alpha.1

  • Added a public preview link: a signed, expiring URL that lets logged-out visitors view and submit a form, even when it is inactive, requires login, is scheduled, or has reached its entry limit.
  • Added a TEST indicator, entry note, and entry filter for submissions from a public preview link. The flag is set before feeds and notifications run, so they can skip test entries.
  • Added form settings to turn the link on, copy it, and regenerate it. The toggle saves immediately and shows the link right away. Turning it off or regenerating it stops the old link at once.
  • View more

Changelog — gravityforms/gravityformspublicpreview

0.1.0-alpha.1

  • Added a public preview link: a signed, expiring URL that lets logged-out visitors view and submit a form, even when it is inactive, requires login, is scheduled, or has reached its entry limit.
  • Added a TEST indicator, entry note, and entry filter for submissions from a public preview link. The flag is set before feeds and notifications run, so they can skip test entries.
  • Added form settings to turn the link on, copy it, and regenerate it. The toggle saves immediately and shows the link right away. Turning it off or regenerating it stops the old link at once.
  • Added plugin settings for how long a link stays valid (48 hours by default).
  • Added Public Preview columns and a view on the forms and entries lists, and a toolbar button that copies the link.

Documentation

Public Preview Add-On Documentation


Requirements, filters, and limits are covered above. These are the core flows once the plugin is active.

Forms → Settings → Public Preview holds the one global setting: how many hours a generated link stays valid.

Public Preview plugin settings with the Gravity Labs notice and the Link expiration field set to 48 hours

  • Changing the value applies to links copied from then on; it does not extend links already shared.
  • Short lifetimes suit one-off reproduction requests; longer ones suit a client review that runs for days.

Turn it on for a form

Open the form, then Settings → Public Preview. Turn on Enable public preview.

Form settings with the Enable public preview toggle on, the generated preview link, and Copy link and Regenerate link buttons

  • The toggle saves on its own; there is no need to click Save Settings. The link appears as soon as it is on. Copy it with Copy link.
  • Regenerate link replaces the secret behind the link; the old URL stops working at once.
  • Turning the toggle off deletes the secret. Re-enabling later generates a brand new link.
  • If the save fails, the toggle switches back and an error is shown.
  • A duplicated or imported form shows the toggle off, because the secret is never copied with the form.

Once a form has public preview enabled, a Public Preview button appears beside Embed and Preview in the form editor, entry list, and entry detail toolbar. It copies the link to the clipboard.

Form editor toolbar with Embed, Public Preview, Preview and Save Form buttons

What the tester sees

The link opens a standalone preview page: the form, a notice that submissions are real, and nothing from your theme.

The public preview page for a two-page survey, showing the Public Form Preview header, the submissions-are-real notice, the form title, progress steps and the first page of fields

  • Inactive, login-required, scheduled, and entry-limited forms all render and accept submissions.
  • Multi-page forms, conditional logic, and calculations work; the token travels with each page.
  • Captcha and honeypot still apply.
  • A link that has expired, been regenerated, or been turned off shows a “Public preview unavailable” page instead.

After someone submits

Entries from a preview link are tagged so they are easy to find and exclude.

Entry list for a form with the Public Preview column showing a TEST indicator on a submission

Entry detail sidebar showing the entry id with a TEST indicator next to it

  • A Public Preview column with a TEST indicator appears on the entry list of forms that have the feature enabled; on other forms it is available under Screen Options.
  • The entry detail page shows TEST next to the entry id and a note, “Submitted via a public preview link.”
  • Use the entry filter Public Preview is Yes (or No) to isolate or exclude test entries, including in exports.
  • The flag is saved before feeds and notifications run, so custom code can skip test entries (see Filters above).
  • Preview page loads do not count toward the form’s views or conversion rate.
  • The entry’s source URL records the preview page without the token, so the link is not exposed through the entry screen, exports, or {embed_url}.

Find enabled forms

The forms list gains a Public Preview column and a Public Preview view above the list.

Forms list filtered to the Public Preview view, with one form showing an Enabled indicator in the Public Preview column

  • Enabled links straight to that form’s Public Preview settings.
  • The view count shows how many forms currently have a working link.