Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This module help site builder or developer to add "Custom JS confirm box" to form
used within site, when user fills form and without complete it want redirect from
that page, Shows the confirm box with warns to save form or leave the page.
Features
-----------------------------------------
- Use to warn site user to saved changes before leave any unsaved page.
- Light weight jquery file.
How to use
-------------------------------------------
- Install this module
- Go to Configuration -> User Interface -> JS confirm pop
- Enter comma(,) separated form id's(machine name) of drupal form eg. 'node_edit_form' in first text area label with "Machine name of drupal forms".
- Enter comma(,) separated HTML id's of form i.e DOM ID's.
eg. 'node-edit-form'. - Save configuration
Supporting organizations:
Project information
- Maintenance fixes only
Considered feature-complete by its maintainers. - Module categories: Developer Tools
- 162 sites report using this module
- Created by sandipauti on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
7.x-1.3
released 17 October 2016
Works with Drupal: 7.x
✓ Recommended by the project’s maintainer.
Development version: 7.x-1.x-dev updated 17 Oct 2016 at 07:03 UTC