Forum Discussion

PatrickCooper's avatar
PatrickCooper
Community Member
9 months ago

How to get user to select all correct choices before continuing.

So I have an interaction with a branching scenario based on the learner's answers to a question.

The issue is that the question is a "select all correct" type question. I am unsure how to set this up well in Storyline. Currently, I am using true/false variables, but if the user selects Right - Wrong - Right, the system sets the variables to true and they get the question correct even though they picked a wrong answer.

Is there another way to code this sort of question, as part of the interaction and not a test or quiz for the learner, so that it works correctly?

Current set up: https://360.articulate.com/review/content/82551c7d-511a-4a9a-bccb-acf41060e552/review

  • Update. Solved my issue. Created a Selected/Normal toggle feature and coded the submit button to check for Selected/Normal states on each answer before sending the learner to the correct or incorrect landing slide.

  • FYI: Built-in states come with built-in functionality.

    Any object with a Normal state and a Selected state will automatically toggle between those two states when clicked—without any triggers.

    • Thus, you don't need those triggers that toggle between the states.

    The exception: If you put multiple objects with Normal and Selected states into a Button Set, selecting one will automatically deselect the others. In other words, you can only select one at a time (as in a Multiple Choice question).

    In my experience, as well as based on what I've seen in the Forum, it's best to let the built-in functions work on their own. In other words, don't add triggers that duplicate what will already happen. That might cause problems.

    Also, it's more stable to use "≠ Selected" ("is not Selected") as a condition, instead of "=Normal" ("is Normal"). As Hero Walt Hamilton once put it: like us, every state thinks it's Normal. In other words, Normal underlies every state, so an "=Normal" condition doesn't always work as expected.