Forum Discussion
True/False Variable - Conditions Help
Let me know if you see it now, Michael. I guess it didn't save when I initially submitted my question. I think part of my issue is using a quiz question, especially since we're not necessarily measuring pass or fail? But at the same time, I want the learner to have 2 chances to get the answer correct.
A Pick Many question scores the question based on which items are selected when the answer is submitted. It doesn't care about the order in which the items were selected.
You could force the learners to first choose an item in upper "Select a Source" area. Do that by hiding the lower "Select where to send source" area until one of the upper items is selected. Probably the easiest way to do that is to cover the lower area with a white rectangle, and then hide that rectangle when any object in the upper area is Selected.
Another option: Use a Pick One question "hidden" behind your actual question.
- Add two objects off the slide, each with a Normal state and a Selected state. Put them in a Button Set. For example, call them "Answer Correct" and "Answer Incorrect."
- Use your T/F variable that changes to True it an item in the upper area is selected first.
- On the Submit button, add a trigger that changes the state of the "Answer Correct" object to Selected with the conditions that the T/F variable = True, and the correct upper object = Selected, and the correct lower object = Selected, and all of the other objects ≠Selected. Include an Else statement, so if those conditions aren't met, the "Answer Incorrect" object changes to Selected.
- Be sure to put this trigger before the "Submit __ interaction" trigger.