popup automatically close on the next page. | XM Community
Skip to main content
Hi all,



I created this popup, but the popup stays open even when participants proceed to the next page.

How can I make automatically closed at the next page?

I need this popup to be closed on the next page, if participants don't close on this page.



This is my code:

Qualtrics.SurveyEngine.addOnload(function()

{





});



Qualtrics.SurveyEngine.addOnReady(function()

{ jQuery("[id*='dialog']" ).dialog({ autoOpen: false});

var delayTime = 3000; //This is the time of delay

setTimeout(function(){jQuery("[id*='dialog']" ).dialog({ autoOpen: true, draggable:true, scroll:false, height:'auto', width:'750x',

open: function(event,ui){

$(event.target).parent().css('position', 'fixed');

$(event.target).parent().css('top', '50px');

$(event.target).parent().css('left', '500px');

}

})}, delayTime);



});

Qualtrics.SurveyEngine.addOnUnload(function()

{



});
Hi,



I also have a similar question. I have a link in my survey that opens up a new tab. However, I want that screen to be automatically closed when participants click the next button in the survey to move to the following page. Is there a way to achieve this?

Leave a Reply