🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!
Guides & Tutorials October 13, 2026

How to Show a Gravity Forms Popup and Lock Content Until Visitors Submit (Modal Forms & Content Unlock)

GravityExtra
How to Show a Gravity Forms Popup and Lock Content Until Visitors Submit (Modal Forms & Content Unlock)

A quote form at the bottom of a long service page gets far fewer submissions than the same form one click away from every “Get a quote” button. And a pricing guide or template download is one of the best lead magnets you can offer, as long as visitors have to share their email to read it.

Gravity Forms has no built-in popup and no way to lock content behind a form. This guide covers the usual options and how the Gravity Forms Modal Forms & Content Unlock Premium Add-on opens any form in an accessible modal or slide-in, and keeps content hidden on the server until a visitor submits the form you choose.

Why Forms Need a Popup and a Gate

Most visitors never scroll to the bottom of a page. Putting a form in a popup that opens from your call-to-action buttons, after a few seconds or when the visitor is about to leave, puts the form where the decision happens. Done badly, popups are annoying: they open on every page, keep appearing after people have already signed up and trap keyboard users.

Content gates have their own trap. Many simple “hide until submitted” scripts only hide the content with CSS or JavaScript. The text is still in the page source, in RSS feeds and in search results, so anyone who looks can read it without filling in the form.

What a good popup and gate need
Polite frequency. Once per session or every few days, and never again after the visitor submits.
Accessibility. Focus kept in the modal, Esc to close, focus returned afterwards.
Real protection. Gated content left out of the page until access is granted.
Caching that cooperates. Unlocked pages must not be served from a cache to other visitors.

Your Options Today

1. A general popup plugin

Popular free popup plugins include a Gravity Forms integration, and many sites already use one. They are a good choice when you need popups for many kinds of content. You configure popups in a separate system rather than in the form’s own settings.

2. A hosted lead-capture service

Services such as OptinMonster offer advanced targeting and testing on monthly plans. Forms are usually built in their tool, so entries do not live in Gravity Forms and your feeds and notifications are not used.

3. Other add-ons

Other Gravity Forms add-ons offer popups and content gating as two separate products. Each one is bought, set up and updated on its own.

Comparison: Ways to Add Form Popups and Content Gates

Modal Forms & Content Unlock add-on Popup plugin Hosted service Other add-ons
Settings in the form Yes, Popup tab Separate popup editor Separate tool See vendor docs
Delay, scroll and exit intent Yes Yes Yes See vendor docs
Entries in Gravity Forms Yes Yes Usually not Yes
Content gate Yes, hidden on the server Varies Varies Separate gating add-on
A/B tests and statistics Not in v1.0 Varies Yes See vendor docs
Cost From $39/year (1 site) Free core Monthly plan Varies per add-on

Prices for other add-ons and plugins vary by vendor and may change.

What Modal Forms & Content Unlock Does

Modal Forms & Content Unlock adds two tools with separate switches. Nothing changes on your site until you set up a popup or a gate.

  • Modal or slide-in. Any Gravity Forms form in a centered modal that dims the page, or a corner slide-in.
  • Open on click. A [gfx_popup] button shortcode, a #gf-popup-ID link in menus or content, or your own CSS selector such as .get-quote.
  • Automatic triggers. After a delay, after a scroll depth, or on exit intent on desktop.
  • Targeting. All pages, selected pages or posts, or post types, on all devices, desktop only or mobile only.
  • Polite frequency. Every page view, once per session or once every few days, and stop opening after the visitor submits.
  • In-popup submission. AJAX submission with the confirmation shown in the popup and optional auto-close.
  • Accessible. Focus kept in the modal, Esc to close and focus restored to the button.
  • Content gate. A shortcode for part of a page or a box to gate a whole post; hidden content never reaches the browser before access, which is stored in a signed, time-limited cookie.

How to Set It Up, Step by Step

You need WordPress 6.5 or higher, PHP 7.4 or higher, Gravity Forms 2.9.4 or higher (Orbital and legacy themes are supported), a page cache that respects no-cache headers or gated pages excluded from caching, and an active GravityExtra license.

Step 1: Install the add-on

Upload and activate the add-on, go to Forms → Settings → Popups & Gate and activate your license key. The Features section has a switch for Form popups and one for Content gate; both are on, but nothing changes until you configure one.

Step 2: Turn a form into a popup

Open a form and go to Settings → Popup. Switch on Show this form in a popup and choose Modal or Slide-in, a heading and a maximum width (600 pixels by default). Under how it opens, add a CSS selector for your buttons, a delay, a scroll percentage or exit intent. Then choose where it shows, on which devices and how often it opens automatically.

Popup tab of a form with Show this form in a popup on, Modal style, popup heading, maximum width, a CSS selector click trigger, a delay trigger, Show on selected pages, Devices, Open automatically once per browser session and Stop opening automatically after the visitor submits this form
The Popup tab: style, triggers, pages, devices and frequency for one form.

Step 3: Add buttons and links

Place [gfx_popup form="1" text="Get a quote"] anywhere for a button, or set a menu item URL to #gf-popup-1. The form is submitted inside the popup without reloading the page and the confirmation appears in place. Visitors close it with the close button, Esc or a click outside.

A booking form open in a centered popup over a dimmed page, with a heading, a close button, name and email fields and a Send button
A booking form open in a centered modal over a dimmed page.

Step 4: Lock content behind a form

Wrap content in [gfx_gate form="2" days="14"]...[/gfx_gate], or choose a form in the Content gate box of a post to lock the whole post. Visitors see the form and, for whole posts, the excerpt. After they submit, the page reloads with the content unlocked for the number of days you set. Several gates that use the same form unlock together.

Hidden content is left out on the server: it is not in the page source, the REST API, RSS feeds or search results. Only a real submission of the gate form creates access, and spam entries do not unlock anything.

A pricing guide page where the gated content is replaced by a box that says Submit the form below to unlock this content, followed by the form, and a second gated block that points to the form above
A pricing guide with two gated blocks before the visitor submits the form.

Pro Tips for Production Forms

  • Lead with click triggers. Popups opened by your own buttons convert well and never annoy anyone.
  • Use exit intent sparingly. Once every few days is plenty, and keep Stop opening automatically after the visitor submits on.
  • Exclude gated pages from page caching. If a CDN ignores no-cache headers, visitors may keep seeing the locked version.
  • Test in a private window. Editors always see gated content with a notice, so check the visitor view in a private window.
  • Connect your feeds. Popup and gate submissions are normal Gravity Forms entries, so your email marketing and CRM feeds run as usual.
Our recommendation

Start with a click-triggered popup for your main call to action, using the form you already have. Then gate one valuable resource, such as a pricing guide, with a short email form connected to your mailing list. Add timed or exit-intent popups only after that.

Put Your Forms Where the Decision Happens

Accessible Gravity Forms popups and slide-ins with smart triggers, plus content that stays locked on the server until visitors submit. Plans start at $39/year for one site, $69 for five sites and $149 for ten.

or read the Modal Forms & Content Unlock setup guide

Frequently Asked Questions

Will the popup keep showing after someone signs up?

No. With Stop opening automatically after the visitor submits this form on, automatic triggers stop. Click triggers still work.

Can people read gated content in the page source?

No. Hidden content is not sent to the browser until the visitor has access.

Do menu links to popups work on every page?

They work on pages where that popup is present. Set Show on to All pages for site-wide menu links.

Does it include popup statistics?

Not in version 1.0. Submissions are normal Gravity Forms entries, so you can track conversions there or in your analytics.

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