How can I get auto-advance to the next page when participant starts the survey through email?
Here is the code I have been using for the on-click solution:
Qualtrics.SurveyEngine.addOnload(function()
{
var that = this;
this.questionclick = function(event,element){
if (element.type == 'radio') {
that.clickNextButton();
}
}
});
Thanks!
More info in this thread.
```
if(jQuery("input[type=radio]").is(":checked").length > 0) this.clickNextButton();
```
P.S. If you have the back button enabled, you should hide it on the next page.
TomG - For some reason the code you suggested above is not working for me. I have a radio button question with two choices inserted as inline question, but when clicked from the email, it open up the same page with the option highlighted. Can you help?
https://www.qualtrics.com/community/discussion/comment/32874#Comment_32874Try it like this:
if(jQuery("input[type=radio]:checked").length > 0) this.clickNextButton();
Perfect TomG That works wonderfully even-though with a small micro second delay to auto forward from inline question to next page I think I can still live with that :)
Now i need to figure out how to disable back button only on my next page. Is it a JS I have to use? as my next page is a block with two questions.
Hi TomG I think i figured it out. I used a branching in survey flow where all blocks are displayed only if the inline question is answered. Thank you so much for your help.
Leave a Reply
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.