Try ERPNext Buy Support Partners Foundation

Warning prior to closing a document with unsaved changes. Ist it possible?

Hi all,

is it possible to warn a user with a pop-up window prior to leaving a document if there are unsaved changes in the document?


it is possible by customizing it according requirements & You can give pop up message only on save or submit click events or on back button of browser.

This can be achieved using onbeforeunload event -

Thanks for the info!!