home | products | customer | support | forums | contact
Sign in | Join |
in
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 09-09-2010 15:01

    Is there a way to disable the "are you sure you want to navigate away from this page?" dialog box on survey submit

    I'm using the Feedback server webcontrol embedded in an ASP.NET webform page as shown below. But when I get to last page and press the "submit form" button a dialog box is diplayed which is confusing - it states:

    "Are you sure you want to navigate away from this page? You have attempted to leave this page. If you have made any choices or entries in your survey all these choices and enteries will be lost. Are you sure you want to exit this page? Press OK to continue, or Cancel to stay on the current page."

     This is the same dialog box that pops up when pressing "back to survey". I've tried setting the "ConfirmSurveyExit" option to false but that didn't have an effect. Also tried the "VoidExitConfirmation" property but that had no effect either.

    Can anyone help with this please?

    <%@ Register TagPrefix="vts" Namespace="DataIllusion.FeedbackServer.WebControls"
        Assembly="DataIllusion.FeedbackServer.Core" %>
    <table style="bordernonewidth100%;" cellpadding="0" cellspacing="0">
        <tr>
            <td>
                <vts:SurveyBox ID="SurveyPreview" SurveyId="1" Width="700" EnableValidation="true"
                    runat="server" ShowThanksMessage="False" ConfirmSurveyExit="False" 
                    OnBehaviorActionTriggered="SurveyPreviewBehaviorActionTriggered">
                </vts:SurveyBox>
            </td>
       </tr>
    </table>
     
  • 09-09-2010 16:06 In reply to

    • Tom
    • Top 10 Contributor
    • Joined on 05-19-2007
    • Switzerland
    • Data Illusion

    Re: Is there a way to disable the "are you sure you want to navigate away from this page?" dialog box on survey submit

    Hi,

    in the latest v5 you have to enable / disable it from the survey settings page in the administration section where you will find an option to activate or desactivate the confirmation message for a survey.

  • 09-09-2010 16:12 In reply to

    Re: Is there a way to disable the "are you sure you want to navigate away from this page?" dialog box on survey submit

    Thanks for your response. Unfortunetly, we're using version 4 right now. Please let me know if there is a workaround for that version.

  • 09-09-2010 16:23 In reply to

    • Tom
    • Top 10 Contributor
    • Joined on 05-19-2007
    • Switzerland
    • Data Illusion

    Re: Is there a way to disable the "are you sure you want to navigate away from this page?" dialog box on survey submit

    Hi,

    try to add following javascript before the </body> of your page :

     <script>

    pagequitcheck=false;

    </script>

     
  • 09-09-2010 17:07 In reply to

    Re: Is there a way to disable the "are you sure you want to navigate away from this page?" dialog box on survey submit

    Thank you! That appears to have fixed the problem. I really appreciate your quick responses!

     

Page 1 of 1 (5 items)
(c) 2008 Data Illusion. All Rights Reserved.