Solved
how can I time 3 blocks together?
I am buliding a survey and wish to set time for 3 separte blocks. How can I do this?
I can't make it all in one block because I need to randomize.
my goal is that participants will roll 3 dices in 30 seconds all thourgh the computer.
I build each block out of 6 questions - 6 numbers on the dice and randomized it so it will be similar to a real dice roll.
now I want the participants to roll 3 times the dice in 30 seconds.
thank you for the help
Inbal
Best answer by TomG
> @inbalr333 said:
> Hi @fleb,
>
> thank you for the help.
> I want participant to roll a dice (want it to look like a real dice using images), 3 times separately and to do all of this in 30 seconds. So I would like to put timer (that they will see) on this 3 separte dice rolls. meaning the participant will have 30 seconds (and not longer) to roll 3 dices and write the result of one of this tosses.
> So I don't want to set delay time...
> Do you know how can I do that?
>
> Thank you again.
> Inbal
You'll need to write JavaScript to do this. Set an embedded variable "timeRemaining" to equal 30 before the randomizer. Put each of your blocks under a branch that checks to make sure timeRemaining > 0. Then in each of your blocks add a question with to the top fo the block wihth a `<span>` or `<div>` to display the timeRemaining (this question should always be displayed along with one of your other six random questions). Pipe timeRemaining into your JavaScript and use setInterval to update the timeRemaining embedded variable and the contents for your timeRemaining span/div every second. When timeRemaining hits zero click the NextButton.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.

I want to make it look like a real dice