Skip to main content
KariMueller
Inspiring
November 29, 2018
Question

Can you randomize slides? (Not Question Slides)

  • November 29, 2018
  • 1 reply
  • 467 views

I'm looking for a way to randomize slides (not question slides) in Captivate. I am thinking this maybe possible with Javascript.

The use case i'm thinking about would be a project with a couple different branches. I would want to randomly send the learner down 2 of the 4 branches. The idea would be each time they take the course, the branches they are presented with could be different.

This topic has been closed for replies.

1 reply

Lilybiri
Legend
November 29, 2018

You would indeed need JS to populate a  variable with a random number.  You can then set up the navigation to a branch based ton that number. Do not forget to turn on Branch aware if you have custom questions.

I used random numbers in different blog posts. Here is one of them:

Playing a dice game, using While loop - Captivate blog

RodWard
Community Expert
Community Expert
November 29, 2018

If your output is HTML5, you might also consider using the CpExtra HTML5 widget for this task as it also has a randomised number function:

Math Related | Infosemantics Pty Ltd