How to rollback data from form when user just clicks the navigation to leave a page?
When you have a form that is editing data, what is the best way to rollback that data when the user just decides to navigate away from the page using the menu navigation? So the user clicked to edit a record, they have updated the data, but now decide to click on a different page in the menu before cancelling or saving the record. In this instance, the data should not be saved or used as the user decided to just leave the page. Instead though, Mendix is keeping that data so if the user goes back to the page it has their changes. Is there an easy way to prevent this data from remaining around and instead get rid of the changes the user had entered?