There was a question in the Articulate eLearning Heroes community last week, from a user who wanted to limit learners to making exactly 3 out of 8 choices and then display the choices on the following slide.
In order for the first requirement (exactly three choices) to work, I created a trigger setup that:
- Counts the number of selected choices
- Disables any unselected check boxes when three choices are made
- Enables/disables the Next button when three choices are selected, or not.
To meet the second requirement, I created three variables that are populated with the selected choices and then display these variables on the next slide. This seems simple enough, but it does require quite a few triggers, because there is no way of knowing which of the 8 choices were actually selected. My .story file is attached to the discussion thread listed above.
While I was working on a solution, I thought that the number of required selections should be flexible, rather than being hard-coded to a maximum of three. So, for testing purposes, I added a dial that I used to change the number of required selections between 1 -8. Of course, in a real-world application it would make more sense to use a variable to set the number of required choices, rather than using a dial.
This is a fantastic solution, Michael! Thanks so much for sharing your source file. It was a lot of fun learning how you put this together.
Thanks David. I know this example doesn’t look like much, but it does do the trick 🙂
There’s a lot going on under the hood in your example. It’s like when we replaced our electric, plumbing, and insulation a few years ago. Cost a fortune but we had nothing visible to show for it–all of the value was behind the scenes.
Nicely done, Michael. I developed something similar way back when in Storyline 1. The requirements for the solution I needed to develop were a bit more involved. Here’s the forum post where you can get the SL 1 file and a PDF (the published version link on TempShare is no longer available):
https://community.articulate.com/discussions/articulate-storyline/multiple-variable-drag-and-drop-demonstration
Yep, there are lots of possible variations on that theme, Drage&Drop being one of them. Thanks for sharing the link.
Pingback: Limiting and Persisting Choices in Storyline – David Lindenberg