Are you sure you want to leave this page? Your entries have not been saved…

Home Forums Quform WordPress Are you sure you want to leave this page? Your entries have not been saved…

This topic is: resolved
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #27252
    imz
    Participant

    We are having issues with users not completing a long form by hitting submit.

    Possible to include a message that tells them the form has not been completed, like “Are you sure you want to leave this page? Your entries have not been saved…” — when they try to navigate from this page with the form?

    Any information would be appreciated!

    #27272
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    • This reply was modified 6 years, 11 months ago by Ally.
    #27280
    imz
    Participant

    Thanks for the response.

    We are using Version 1.10.0 of the plugin. I do not see the path that you defined available in the settings to add the custom CSS & JS.

    Please provide more info as to how to add this code in Version 1.10.0.

    I tried adding as an html element to the form with <script> tags — but that didn’t work either.

    Thank you very much!

    #27293
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #27303
    imz
    Participant

    Thanks — this works. However, the message is not the same as defined in the code.

    See screen capture. Rather than saying…
    Are you sure you want to leave this page? Your entries have not been saved…

    It says…
    Leave site? Changes you made may not be saved.

    Possible to have the dialog message say…
    Are you sure you want to leave this page? Your entries have not been saved…

    Thank you!

    Attachments:
    You must be logged in to view attached files.
    #27305
    imz
    Participant

    This is additional information to my last message to you.

    Didn’t realize that this message displays AFTER the user hits submit — which obviously can cause confusion for the user, which will generate issues with the user community.

    Any other options? Thanks!

    #27309
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #27311
    imz
    Participant

    This worked – thanks! 🙂

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2025 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy