Yes/No/NA Checkbox Quiz?
Feb 26, 2013
Hi everyone, I'm trying to build a self-assessment "quiz" in Storyline that has "Yes/No/NA" as options. We won't need the "NA" option for all questions, but it really needs to be there on some. I've put together a quick mockup that might help.
I'd like to show the scoring at the bottom and I'm fairly certain that I know how to do that with variables but was unsure if there was a built in quiz type that I could use, or if I'll have to put in a bunch of checkboxes and try to hand code it all.
Ideally there will be several of these throughout the Storyline and they will report to something else at the end, but that's not required at this point.
Also, is it possilbe to have a quiz in a layer or do they have to be in seperate slides?
Thanks in advance for pointing me in the right direction.
6 Replies
Ok, it looks like I can use a radio button set to kind of do what I want. I'm still having issues though.
I've created a button set but I'm having issues with the trigger logic. In the screenshot above, I want to add 1 or subtract 1 from a vartible every time someone clicks yes or no. That's working, but if I repeatedly click on yes, it continues to increase the variable. If i click no, it continues to decrease the variable.
I would just set the variable == to 1 or 0 but I would like to use the same variable for all of the selections (again see mockup above) so in this example, with requirement 1 and elective 2 selected it would add up to 2. The no's don't really add anything up, but they would have to subtract from the main variable as needed.
Does that make sense? Is there a tutorial somewhere that I haven't found about button set logic?
Hi Andrew,
I took a stab at this. I'm not entirely sure what you're after, so this is very bare-bones and I've only used to choices: Meets Elective 1 and Meets Elective 2.
I've used option buttons (radio button) and set them up so that the Meets Elective 1 buttons are Button Set 1; Meets Elective 2 are Button set 2. You can achieve this by selecting the buttons, right-clicking, and choosing (or creating) Button Sets.
Again, I'm not sure what your plan is for scoring, so for this example I simply created 2 variables: E1 and E2.
Each variable has 2 triggers: one to add 25 if the Learner clicks yes; one to subtract 25 if the Learner clicks no.
There's also a Total variable which is calculated when the Learner clicks the calculate button.
I'm not running into the issue you had with the numbers continually adding or subtracting, at least when I tested it. Let us know if this helps to get you started.
Rebecca,
THANK YOU SO MUCH! I somehow missed the email update to this thread over the weekend, but when I logged back in the answer and your sample was here. It really helped guide me in the right direction on this one - thank you so much!
Hi Andrew,
So glad this did the trick. Hope it's continuing to go well.
I had to do something similar in a personality inventory. Here is another option:
Thanks Rebecca! I really like how you did the validation on it too.
It looks like there's not an easy way to do all of this without a ton of triggers. Maybe future versions of Storyline or Quizmaker will make this a bit easier. I've got the hang of it now.
Thanks again for everyones' help!
This discussion is closed. You can start a new discussion or contact Articulate Support.