Popups

Gravity Forms Popups lets you display any Gravity Form in high-converting overlays—popups, slide-ins, banners, or fullscreen displays—with flexible triggers, targeting rules, and dismissal controls.

Overview

Built as a first-party Gravity Forms add-on, it’s designed to help you present the right form at the right time without rebuilding pages or relying on brittle embeds. Configure everything from your Gravity Forms admin, then let the frontend behavior run automatically.

Key Features

  • 🎯 Flexible Triggers: Launch popups on button click (CSS selector), timeout, scroll depth, exit intent, URL hash—or trigger programmatically via a JavaScript API.
  • 🪟 Multiple Display Modes: Choose from popup, slide-in, banner, or fullscreen overlays with configurable sizing, positioning, animations, and backdrop options.
  • 🧠 Targeting Rules: Control where popups can appear using targeting conditions, so you can tailor forms to specific pages and visitor contexts.
  • 🍪 Dismissal & Behavior Controls: Respect “dismissed” cookies, customize cookie duration/name, optionally auto-close after submission, and configure close behaviors (ESC, backdrop click, close button).
  • 🎨 Template + Styling Control: Customize the iframe template output and CSS, with support for theme template overrides for advanced implementations.
  • ⚡ JavaScript API Included: Trigger popups on demand with window.GFPopups.show(feedId) for custom flows, campaigns, or app-like interactions.

How It Works

  1. Install and activate Gravity Forms Popups.
  2. In WordPress admin, go to Forms → Popups.
  3. Create a popup feed and choose the Form to Display.
  4. Configure your Trigger, Display, Behavior, and Targeting options.
  5. Publish your trigger (e.g., add a button with the configured CSS selector) or use the JavaScript API to open the popup programmatically.

Provide feedback here

Requirements

  • WordPress 6.0+ (plugin header)
  • PHP 8.0+ (plugin header)
  • Gravity Forms 2.8+ (minimum requirement in add-on class)

Changelog

0.1.1-alpha.4

  • Updated the Button Click trigger so a CSS Selector without a . or # (such as open-popup) matches that class, that ID, or a link to #open-popup.
  • Updated the Button Click trigger so any selector also opens the popup from a link to the matching #name, for themes whose buttons only accept a URL.
  • Fixed an invalid CSS Selector causing an error on every click.
  • View more

0.1.1-alpha.3

  • Added a Design tab with banner image, title, and description options shown above the form.
  • Added container settings for background color, padding, border radius, border, shadow, and max height.
  • Added close button settings for position (inside or outside), style, size, colors, and an optional text label.
  • View more

0.1.1-alpha.2

  • Fixed popup close click falling through to Button Click triggers when Respect Dismissal is disabled, which made the modal appear unclosable.
  • Only set the dismissal cookie when Respect Dismissal is enabled.

Changelog — gravityforms/gravityformspopups

0.1.1-alpha.4

  • Updated the Button Click trigger so a CSS Selector without a . or # (such as open-popup) matches that class, that ID, or a link to #open-popup.
  • Updated the Button Click trigger so any selector also opens the popup from a link to the matching #name, for themes whose buttons only accept a URL.
  • Fixed an invalid CSS Selector causing an error on every click.
  • Fixed a PHP 8.5 deprecation notice for ReflectionProperty::setAccessible().

0.1.1-alpha.3

  • Added a Design tab with banner image, title, and description options shown above the form.
  • Added container settings for background color, padding, border radius, border, shadow, and max height.
  • Added close button settings for position (inside or outside), style, size, colors, and an optional text label.
  • Added small-screen padding and a full-width option for small screens.
  • Added a live preview of the design settings.
  • Added the Load Site Scripts in Popup setting. Site-wide scripts such as consent banners, analytics, and chat widgets no longer load inside the popup by default.
  • Added the gf_popups_iframe_isolate_assets, gf_popups_iframe_allowed_handles, gf_popups_iframe_keep_hook_callback, gf_popups_iframe_banner_html, and gf_popups_iframe_heading_html filters.
  • Fixed the close button overlapping the first form field.
  • Fixed the Animation setting having no effect.
  • Fixed keyboard focus not moving into the popup, not staying inside it, and not returning to the trigger on close.
  • Fixed the Escape key not closing the popup while focus was inside the form.
  • Fixed the popup height not updating after images inside it finish loading.
  • Fixed the Design tab rendering in one column of the feed settings form, which crushed the fields and let the color swatches overlap the preview.
  • Fixed Design tab fields in a row sitting out of line when one of them has help text.
  • Fixed popup padding. Small-screen padding was applied whenever the popup was under 640px wide, which replaced the padding setting on a normal popup. It now applies only when the browser window is under 640px.

0.1.1-alpha.2

  • Fixed popup close click falling through to Button Click triggers when Respect Dismissal is disabled, which made the modal appear unclosable.
  • Only set the dismissal cookie when Respect Dismissal is enabled.

0.1.1-alpha.1

1.0.0-beta.2

  • Fixes Code style and static analysis issues.
  • Security enhancements.

0.1.0-beta.1

  • Initial release.

Documentation

Popups Documentation

Display Gravity Forms in popups, slide-ins, banners, and fullscreen overlays.