Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Inline Popup Field Group

28 sites No security coverage
View on drupal.org

This module provides a way to group fields that appear in a popup, but unlike other popup modules, it keeps the fields visible on the page and allows them to be shown or hidden with buttons. This ensures all field data is retained when saving content, even within nested structures like paragraphs.

Contents of this file

  • Introduction
  • Requirements
  • Installation
  • Configuration
  • Maintainers

Introduction

The Inline Popup Field Group defines a custom display mode for Drupal Field Group.
The base idea was to use Popup field group, but it doesn't work for me.
In my use case, I need to manage fields as popups inside nested paragraphs.
The Popup field group makes use of the Drupal.dialog JS library.
From what I've seen, using it in nested paragraphs results in the dialog removing the original fields, leaving the saved node without this information.
This module keeps all fields in a fieldset, hiding it and adding buttons to show/hide the fieldset.
This ensures that all fields remain on the page, retaining all information when saving the node.

Requirements

This module requires the following modules:

Installation

Install the Inline Popup Field Group module as you would normally install a contributed
Drupal module. Visit https://www.drupal.org/node/1897420 for further
information.

Configuration

Use this module in your form display as you would with all other Field Group modules.
Add a new Popup Fake container and move inside each field you need.
Please use Link text to define the title of the button on the page.

FAQ

Q: Can I define a custom style for my Popup?

A: Yes, you will find everything you need in this module. The module has a ready gulpfile to compile the SCSS file that is in assets/scss.
Please install all the requirements with npm install and then run gulp with gulp watch. Now you can change everything you need in assets/scss/inline_popup_field_group.scss

Activity

Total releases
2
First release
Feb 2025
Latest release
10 months ago
Releases (12 mo)
1
Maintenance
Active

Releases

Version Type Release date
3.0.0 Stable Aug 25, 2025
1.0.0 Stable Feb 4, 2025