Millisecond Forums

How to hide the "Continue" button until the clock timer is done counting down?

https://forums.millisecond.com/Topic27688.aspx

By michaelwaltrip - 8/28/2019

I have a survey being shown in a batch script. This survey display two survey pages, as shown below: the timer on survey page 1, and the caption for "bomatbintro" on survey page 2. However, as it is now, when I run the script, on survey page the clock is counting down but I can still skip to the next screen. I'd like to hide the "continue" button until the clock finishes counting down. I assume this is some simple parameter I need to add but I can't find it anywhere. Thanks!


<clock timer>
/ mode = timer
...
</clock>

<caption bomatbintro>
/ caption = "...."
</caption>

<surveypage timerpage>
/ stimulusframes = [1=timer]
</surveypage>

<surveypage bomatbintropage>
/questions = [1=bomatbintro;]
</surveypage>

<survey bomatbintrosurvey>
/pages = [1=timerpage; 2= bomatbintropage;]
...
</survey>

By Dave - 8/28/2019

What you want isn't possible with surveypages. What you can do is move the next button off-screen on the timer page per /nextbuttonposition, and have the page automatically move on to the next per /timeout.

<surveypage timerpage>
/ stimulusframes = [1=timer]
/ nextbuttonposition = (-20%, -20%)
/ showbackbutton = false
/ timeout = 5000
</surveypage>
By michaelwaltrip - 8/29/2019

Cheers, that worked perfectly.

Thanks!