Hello,
I have Page A with survey embedded using iframe and at the end of the survey I am trying to redirect to a Page B with parameter based from the survey. At the end of the survey block I added this piece of code to open Page B but that resulted in new tab so I am trying to close the Page A, so users don't get confused with the multiple tabs.
Is there a way to either open Page B on the same tab as Page A Or Open Page B in new tab and close Page A .
This is my code
Qualtrics.SurveyEngine.addOnReady(function()
{
window.open(Page B);
window.top.close(); -- this is for closing for Page A
});
Question
Question on opening the survey result on the same window
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
