About Form Save Reminder

This module adds a confirm dialog before leaving a page if its content has changed. Prevents losing unsaved data by accident.

Category 1Admin Helpers
Admin helper modules are those that provide helpful tools, UI enhancements or optimizations to the admin panel (excluding Fieldtype or Inputfield modules).
Category 2Logs/Monitoring
Modules that maintain activity logs or monitor and report activity in some form or another.
Release StateStable
Should be safe for use in production environments. *
Authorsoma
Module Version1.0.6
Class NameFormSaveReminder
Compatibility2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7
Date AddedJuly 24, 2012
Last UpdatedMarch 3, 2016
Recommended ByNew recommendations may take up to 1 day to appear.

Instructions

This module's files should be placed in /site/modules/FormSaveReminder/
How to install or uninstall modules

README

ProcessWire FormSaveReminder

This module adds a confirm dialog before leaving a page if its content has changed. Prevents losing unsaved data by accident. It does add this feature to all edit screens in the admin backend by default.

The module has following options to disable Form Save Reminder on certain edit screens.

  • On edit Page
  • On edit Template
  • On edit Field
  • On edit User, Role, Permission
  • On edit Module

Download FormSaveReminder from modules directory.

How to install:

  1. Download the zip file and put the folder renamed as "FormSaveReminder" into your site/modules/ folder
  2. Login to processwire and got to Modules page and click "Check for new modules". You should see a note that a new module was found. Search for it in the list and click "install".
  3. Done

Known issues

  • In some ocassion it can fail, when there's no change event thrown on an input field, that may even a custom module. However it can usually be fixed simply by adding a $(element).trigger("change"); to the input textarea, input or select html object.
  • There seems to be some issue with autocomplete page fields when adding items on the fly is enabled. I will look into this later

changelog 1.0.6

  • small bug fix for CKEditor in inline mode not getting recognized

changelog 1.0.5

  • bug fix naming function

changelog 1.0.4

  • refactored code a bunch to simplify things
  • added support for CKeditor, regular and inline mode
  • made alert message translatable

changelog 1.0.3

  • fixed issue with delete button throwing the alert

changelog 1.0.2

  • fixed issue with script adding (again)
  • updated some texts and documentation

changelog 1.0.1

  • fixed issue with script adding
  • fixed subdir installation path
  • added script versioning

Comments

No comments yet. Be the first to post!

Post a Comment

Your e-mail is kept confidential and not included with your comment. Website is optional.