Existing survey pop up | XM Community
Skip to main content
Question

Existing survey pop up

  • May 31, 2024
  • 1 reply
  • 23 views

Hello I am wondering if someone can help me with adding a pop button for a user on the submit button asking if they really want to submit their survey? 

1 reply

Aggarwal
Level 4 ●●●●
Forum|alt.badge.img+15
  • Level 4 ●●●●
  • 134 replies
  • May 31, 2024

You can try code like

 

Qualtrics.SurveyEngine.addOnload(function() {
    var nextButton = jQuery("#NextButton");
    nextButton.click(function(event) {
        var confirmContinue = confirm("Are you sure you want to continue?");
        if (!confirmContinue) {
            event.preventDefault();
        }
    });
});
 


Leave a Reply