Skip to main content
KariMueller
Inspiring
Nov 29, 2018 5:19 PM UTC
Question

Can you randomize slides? (Not Question Slides)

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 is closed to new replies. Start a new post to keep the conversation going.

2 replies

Lilybiri
Legend
Nov 29, 2018 8:01 PM UTC

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

Translate
RodWard
Community Expert
Community Expert
Nov 29, 2018 8:17 PM UTC

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

Translate