Amend Quiz Variable

Sep 12, 2019

Good morning all,

I am building a quiz and some of the questions are quite complex. I intend on using many of the built in 'Pick One' and 'Pick Many' Freeform options but I will also need to build my own from scratch.

An example being 'What is the maximum range of the X2 Taser?' and 'What is the most effective range of the X2 Taser?' For this question, I intend on using 2 sliders on the page with the Taser shot wires dynamically moving with the sliders. I would then use my own built in variables to identify whether the user has answered correctly or not.

As there is a mix of 'built in' and my own build questions I need to be able to add a value to the global built in quiz variable so that my questions contribute to the overall score. Is there a way to do this? P.S. Ideally not using Java!

Look forward to hearing from you

Ad

2 Replies
David Schwartz

Hi Adam,

I've put together a little sample proof of concept of a way to do this. I have a T/F variable that is set based on the click of a button on the first slide. Obviously you could set this variable based on your slider results. The second slide is a freeform question that has the state of one button or the other changed based on the value of the T/F variable, and then submits the interaction immediately. This interaction uses the built-in quiz variables automatically.

Let me know if this makes sense. I think it should work for you.

This discussion is closed. You can start a new discussion or contact Articulate Support.