disable next bottun | XM Community
Solved

disable next bottun

  • 29 February 2020
  • 2 replies
  • 5 views

Badge +6
Hey,

I have a block with two questions.
The first question is a video that playing automatic and when the video is ended its moving auto to the next question in the same block
my problem is in the next question.
The in the next question is doing also auto submiting - even if i dont want to.
what to do?

in the on ready function (of the first question) I have this:

jQuery($('videoPlayer1')).on("ended", function() {
setTimeout( function () {
m1.clickNextButton();
}, 1000);
icon

Best answer by C_Bohn 2 March 2020, 21:32

View original

2 replies

Userlevel 3
Badge +2
I am guessing the Video is on one page and the next question is on a separate page?

One suggestion is to place a timing question on the same page with the Video question. The timing question will not be seen by the respondent, but can be set to auto-advance after a period of time. Just set the auto-advance time to include the length of the video plus a few more seconds after the video ends.

The auto-advance will move the respondent to the next page which has the question.
This could save you from having to write Java.
Badge +6
Wow that's a great idea! Thank you very much!
I did it now and it solved the problem (:

Leave a Reply