Alert for Back Navigation in Zoho Creator Widgets on Mobile Apps

Alert for Back Navigation in Zoho Creator Widgets on Mobile Apps

In Zoho Creator widgets, when a user navigates back on mobile devices, the data within the widget is reset. This leads to a loss of any unsaved changes or inputs, causing frustration for users.

To enhance user experience, we need to implement a confirmation alert when the user attempts to navigate back from the widget. This alert should:
1.⁠ ⁠Warn users about potential data loss.
2.⁠ ⁠Provide options to confirm or cancel the back navigation.