Halt! Who goes there?!?!

A very simple JavaScript based protection that will alert a user if they are navigating away from a modified Node Edit form without saving. It uses a standard JavaScript confirm dialog that allows the user to either continue what they were doing, or cancel the move allowing them the opportunity to save. It marks the form as dirty by using the blur event of the node fields.

This module was sponsored by Vardot, Phase2 Technology and KYbest.

Supporting organizations: 
Maintaining Drupal 8/9/10 version

Project information

Releases