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 - https://code-maven.com/prevent-leaving-the-page-using-plain-javascript

Thanks for the info!!

Does anybody have an implementation for this ready?

I have

If this is still relevant to you, you might extend your Core Code manually with my code