I wish to implement a warning about the need to save changes before leaving a page or pagefunction.
The user is given the option to cancel the request to leave the page so that the user can perform appropriate actions before leaving the page or pagefunction.
The logic needs to cope with both
- navigating away from the page/pagefunction actions and
- clicking the "x" in the top-right to close the page/pagefunction.
How can this be implemented in a page/pagefunction wich may or may not be part of a "wizard like" sequence of pages?
View Complete Post