Redirect prompt when navigating away from a form that data has been entered into

When using scaffolding forms, it is very easy for a user to accidentally navigate away from a page via the back and forward browser navigation or refreshing of the page. Doing so causes the user to lose all of the data entered, which can be very frustrating.

It would be very useful if a user enters data into a form, that a confirmation prompt is displayed when the user tries to refresh or use the back or next browser navigation buttons, asking the user if he or she is sure they want to leave the page, losing any unsaved data.

  • Guest
  • Jul 9 2019
  • Needs review
Hosting platform Server
  • Attach files
  • Andrew van Ingen commented
    19 Aug, 2022 01:22pm

    Could this be implemented for Cloud?

  • +4