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

Gravity Forms Modal Forms & Content Unlock Premium Add-on Setup Guide

Updated 6 min read Gravity Forms Form Design & UX
On this page
  1. Video walkthrough
  2. Step 1: Install and Activate Your License
  3. Step 2: Choose the Features You Use
  4. Step 3: Set Up a Form Popup
  5. Open the popup
  6. Where and how often
  7. Step 4: Add Buttons and Links
  8. Step 5: Lock Content Behind a Form
  9. How access is protected
  10. Limits and What Is Not Included in v1.0
  11. Troubleshooting & FAQ
  12. The popup does not open automatically.
  13. A menu link to #gf-popup-1 does nothing.
  14. Visitors still see the locked version after submitting.
  15. I see the content but visitors do not.
  16. Can I use the same form for several gates?
  17. Resource Hub

Video walkthrough

Lock Content Behind a Gravity Form (Content Gate) + Form Popups
Video walkthrough: open a Gravity Form in a popup and lock content behind it with the content gate. Watch on YouTube

Gravity Forms has no built-in way to show a form in a popup or to hide content until someone fills in a form. The Gravity Forms Modal Forms & Content Unlock Premium Add-on adds both: any form can open in an accessible modal or slide-in, from a button, a link, a delay, scroll depth or exit intent, and any content can stay locked until the visitor submits a form you choose.

This guide covers the settings, setting up a popup, the popup shortcode and links, the content gate, the limits of version 1.0 and troubleshooting.

System Requirements & Prerequisites

  • WordPress: Version 6.5 or higher
  • PHP: Version 7.4 or higher
  • Gravity Forms: Version 2.9.4 or higher (Orbital and legacy form themes are supported)
  • Page caching: A cache that respects no-cache headers, or the gated pages excluded from caching
  • GravityExtra license: The add-on installed, activated and licensed with an active GravityExtra license key

Step 1: Install and Activate Your License

  1. In WordPress go to Plugins → Add New → Upload Plugin, upload the add-on ZIP file and click Activate.
  2. Go to Forms → Settings → Popups & Gate, enter your key in the Gravity Extra License section and click Activate License.
  3. Reload the page. The Features, Content gate and Popup shortcode sections appear.

Step 2: Choose the Features You Use

Under Features there is one switch per feature. Both are on after installation, but nothing changes on your site until you set up a popup or a gate.

  • Form popups: when off, no popup files load anywhere, popup buttons are not shown, links to popups are ordinary links, and the form Popup tab is hidden.
  • Content gate: when off, content inside a gate is shown to everyone, so turn it off only if you want to unlock everything.

Step 3: Set Up a Form Popup

Open a form and go to Settings → Popup. Switch on Show this form in a popup, then choose:

  • Style: Modal (centered, dims the page) or Slide-in (corner panel). For slide-ins, pick Bottom right or Bottom left under Slide-in position.
  • Popup heading: leave empty to use the form title.
  • Maximum width (px): from 320 to 1200, 600 by default.

Open the popup

  • When a visitor clicks (CSS selector, optional): any button or link matching the selector, for example .get-quote, opens the popup.
  • After a delay with Seconds on the page (1 to 600).
  • After scrolling with Percent of the page scrolled (1 to 100).
  • On exit intent: opens when the mouse leaves the top of the window. Desktop only.

Where and how often

  • Show on: All pages, Selected pages or posts (enter IDs separated by commas) or Selected post types.
  • Devices: All devices, Desktop only or Mobile only. Screens narrower than 768 pixels count as mobile.
  • Open automatically: On every page view, Once per browser session (default) or Once every few days with Days between automatic openings.
  • Stop opening automatically after the visitor submits this form: on by default.
  • Close the popup after the confirmation (seconds): 0 keeps the confirmation open until the visitor closes it.

Frequency rules apply to the delay, scroll and exit-intent triggers. A click always opens the popup.

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
Form Settings → Popup for a discovery call form.

The Popup tab shows the link and shortcode for that form. Use either on any page:

  • A button: [gfx_popup form="1" text="Get a quote"]. Without text the button shows the form title. Add your own classes with class="...".
  • A link, also in menus: set the URL to #gf-popup-1.
  • An automatic trigger for one page only: [gfx_popup form="1" trigger="delay" delay="5"], trigger="scroll" scroll="50" or trigger="exit". These print nothing and work even when the form Popup tab is off.

Links work on pages where that popup is present: pages matched by Show on, and pages whose content contains the link or the shortcode. Menu links on other pages lead to the page anchor only.

The form is submitted inside the popup without reloading the page, and the confirmation message appears in the popup. Redirect confirmations redirect as usual. Visitors close a modal with the close button, the Esc key or a click outside it; keyboard focus stays inside the modal while it is open and returns to the button afterwards.

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 form opened in a modal popup with the Orbital form theme.

Step 5: Lock Content Behind a Form

Wrap the content you want to hide:

[gfx_gate form="2" days="14"]Your download link or private content[/gfx_gate]

  • form: the form visitors must submit.
  • days: how long access lasts. Without it, Remember access for (days) from the settings is used (30 by default).
  • message: the text above the form. The default is “Submit the form below to unlock this content.”
  • title="no": hides the form title.

To lock a whole post or page, open it in the editor and choose the form in the Content gate box (Hide this content until the visitor submits), with an optional Remember access for (days). Visitors see the excerpt, if you wrote one, and the form.

After the visitor submits the form, the page reloads with the content unlocked. Several gates that use the same form unlock together; the form is shown once and later gates say “Submit the form above to unlock this content.”

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 page with two gated blocks before the visitor submits the form.

How access is protected

  • Hidden content is left out on the server. It is not in the page source, the REST API, RSS feeds, search results or automatic excerpts.
  • Access is stored in a signed cookie that cannot be guessed, changed or extended, and only a real submission of the gate form creates it. Entries marked as spam do not unlock content.
  • With Remember logged-in visitors on every device on, logged-in visitors keep access when they sign in elsewhere.
  • Gated pages send no-cache headers and tell caching plugins not to store them.
  • People who can edit the page always see the content, with a notice that visitors must submit the form first.
  • Reset all access signs everyone out of gated content at once.

Limits and What Is Not Included in v1.0

  • One copy per form per page: if a form is already on the page, it is not added again as a popup.
  • Frequency is stored in the browser, so clearing site data or using a private window shows automatic popups again.
  • License inactive: popups stop and gated content stays hidden; editors see a notice.
  • Not included in version 1.0: A/B testing, view and conversion statistics, popup design templates, editor blocks (use the shortcodes), access by payment status and revoking access for a single visitor.

Troubleshooting & FAQ

The popup does not open automatically.

Check Show on and Devices, then the frequency: with Once per browser session it opens once per session, and after a submission it stops if Stop opening automatically after the visitor submits this form is on. Test in a new private window.

The popup is only on pages where it is shown. Set Show on to All pages, or add the link inside the page content.

Visitors still see the locked version after submitting.

A page or CDN cache is ignoring the no-cache headers. Exclude the gated pages from caching, then clear the cache.

I see the content but visitors do not.

That is expected: editors always see gated content with a notice. Check the page in a private window.

Can I use the same form for several gates?

Yes. Submitting it once unlocks every gate that uses that form, for the duration of the first gate that was submitted.

Resource Hub

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