Exit Intent (Wait Don't Go)
This widget intercepts when a user tries to load a new page and presents a dialog box, whose text is configurable in the modeler and whose buttons can be mapped to microflows. Example usage is when someone is leaving a page after having made changes to the context object, but has not yet saved, you can prompt "Are you sure you want to go"?
Stops user navigation when they're about to leave a page without saving their changes. If a user is about to navigate away from a page, throw a mendix confirmation box to ask them if they'd like to save their saves. If they pick yes, commit any objects changed before continuing to the next page.
- Install the widget in your project.
- Insert the widget as a child widget of a data view on a page.