PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

"Are you sure you want to navigate away from this page?" for front-end forms

  1. Just like when editing in GF form editor or TinyMCE, I would like the "Are you sure you want to navigate away from this page?" message to be displayed by the user's browser on the front end if they have started to fill in a form but not submitted it.

    Is this an option I'm missing in GF or will I need to add my own javascript (e.g. something like http://stackoverflow.com/questions/1119289/how-to-show-the-are-you-sure-you-want-to-navigate-away-from-this-page-when-ch ).

    PS - This is normally not an issue for my clients, but apparently it has been happening a lot for this form - http://marconf.ca/annual-meeting/delegate-visitor-registration/ .

    Thanks,
    Brad

    Posted 11 years ago on Thursday June 7, 2012 | Permalink
  2. David Peralty

    You will need to add your own JavaScript to accomplish this.

    Posted 11 years ago on Thursday June 7, 2012 | Permalink