Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Leave Confirm

Security covered Under active development 168 sites

This module prevents users from accidentally losing unsaved changes by displaying a confirmation pop-up when they try to leave a page. Administrators can configure which forms trigger this confirmation and manage permissions.

The Leave Confirm module for Drupal improves user experience by showing a popup confirmation dialog when users attempt to leave a page with unsaved changes in specified forms. This prevents accidental loss of data and allows users to confirm their intention before navigating away.

Administrators can configure the module for specific forms, control permissions, and manage settings easily through a user-friendly interface. It ensures critical form data is protected across the site without disrupting the workflow.

Installation

Features

  • Configurable Leave Confirm Dialogs: Display confirmation dialogs for specific forms to prevent accidental data loss.
  • Role-Based Permissions: Control which user roles can access and configure Leave Confirm settings.
  • Pre-Configured Defaults: Automatically adds points for common forms (user forms, node forms, webform forms) on installation.
  • Enable/Disable per Form: Toggle Leave Confirm functionality for individual form points as needed.
  • Add New Form Points: Easily add new forms to be protected via the module configuration.
  • User-Friendly Interface: Manage leave confirmation settings conveniently at admin/config/user-interface/leave-confirm-points.

Post-Installation

After installing the Leave Confirm module, follow these steps to set up and manage it:

  1. Enable the module from Extend in the Drupal admin interface.
  2. Configure leave confirmation for default forms or add new form points at admin/config/user-interface/leave-confirm-points.
  3. Set permissions for different user roles to control access to Leave Confirm settings at /admin/people/permissions/module/leave_confirm to manage configuration access.

The module is now ready to protect your forms from accidental navigation and unsaved changes.

Additional Requirements

  • Drupal Version: 10 or higher
  • Browser Support: Modern browsers with JavaScript enabled (Chrome, Firefox, Safari, Edge, etc.)

No additional modules or libraries are required. For best results, use a modern theme that supports standard form rendering.

Similar Projects

Troubleshooting & FAQ

  • Popup not appearing? Ensure the module is enabled and configured for the intended form IDs.
  • Permission issues? Verify that the user role has access to configure Leave Confirm settings.

Support

Please post bug reports, feature requests, or support inquiries to the Leave Confirm module issue queue.

Drupal 10–11

Ask your assistant about Leave Confirm

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
10
Tracked since
Jan 2024
Latest release
10 months ago
Releases (12 mo)
3 ▼ from 4
Maintenance
Slowing

Release Timeline

Releases

Version Type Core PHP Release date
1.1.9 Stable 10–11 Dec 10, 2025
1.1.8 Stable 10–11 Dec 10, 2025
1.1.7 Stable 9–11 Nov 14, 2025
1.1.6 Stable 9–11 Oct 8, 2025
1.1.5 Stable 9–11 Feb 4, 2025
1.1.4 Stable 9–10 Feb 4, 2025
1.1.3 Stable 9–10 Feb 4, 2025
1.1.2 Stable 9–10 Mar 11, 2024
1.1.x-dev Dev 10–11 Jan 6, 2024
1.1.1 Stable 9–10 Jan 6, 2024