Hello, I am (poorly) trying to stitch together code snippets to allow research participants to advance to the next survey question if they click on a call to action image that appears after watching a video.
The below seems to achieve this, but requires that I use a radio button question type. This type of display doesn't work for what I'm trying to do. Any ideas how to allow the auto advance upon click of the image itself? Thanks in advance!
Qualtrics.SurveyEngine.addOnload(function()
{
this.getQuestionContainer().hide();
});
Qualtrics.SurveyEngine.addOnReady(function()
{
var delayTime = 10000 //This is the time of delay
var that = this;
setTimeout(function(){that.getQuestionContainer().show()}, delayTime);
});
Qualtrics.SurveyEngine.addOnload(function() {
$('extLink').on('click', function(name, event) {
Qualtrics.SurveyEngine.setEmbeddedData('clicked', '1');
});
});
Qualtrics.SurveyEngine.addOnload(function()
{
this.questionclick = function(event,element){
if (element.type == 'radio') {
this.clickNextButton();
}
}
});
Page 1 / 1
Does the image appear within the video itself or is the image separate from the video?
Thanks for the reply. Qualtrics recommended I do it as a separate question underneath the video.
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.