Skip to content

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

Notifications You must be signed in to change notification settings

somatonic/FormSaveReminder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages