Alert user of unsaved changes before navigating away (UI Builder)

Bradley Koerner
Tera Contributor

Anyone know how to alert a user in UI Builder that they have unsaved changes when they try to navigate away (close tab, click back/forward, click another link)?

Some examples of what I'm looking for: if you're editing a UI builder page and then try to close the tab, an alert appears that says "Changes you made may not be saved."

Or in platform, if you edit a record and have not saved, when you attempt to click a different link, an alert appears that says "Changes you made may not be saved."

Just a simple browser-based alert is fine for now. But if I can utilize a custom modal, that'd be nice.

1 REPLY 1

Sam Buschette
Tera Contributor

Hi Bradley - did you find a solution to this issue. We would like to implement something similar. Thank you.