Pass to and from Javascript?
Sep 03, 2015
I am trying to use Storyline2 to present 4 quiz banks in different order. For example, for one person I would present the quizzes in the order: 2,4, 3, 1 and another 4, 1, 3,2
I would like to do this by determining the order in advance and then have the quiz banks follow that order.
I've tried text entry, but I cannot figure out a way to change the variable to read the four different text entries so that the focus is changed to the next one in succession.
What would be the best way to do this?
I've thought of using buttons 1-4 and then as each is selected, it sets up the order in an array using
var order [];
push.order ("1"); --etc, through 4.
Can I use JavaScript to call the order of the created array to present the quiz banks? I know I'm missing something. Still searching in the mean time.
3 Replies
Hi, Virginia --
Thanks for your question! You may already be aware of this, but we do not provide support for JavaScript coding, however, it may be helpful to take a look at this document on JavaScript Best Practices. Hopefully, some of our JS experts in the community can chime in with some suggestions for you!
Hi, Christie!
Thanks for responding. I know JavaScript isn't something that Articulate directly supports, but was hoping someone in the community might now.
Do you have any suggestions for another way to achieve my goal? Could I have the information printed to a slide/layer that never shows (but is read)? I'm trying to problem solve any and all ways to make this happen.
Hi, Virginia -- To the best of my knowledge, you cannot change the order of the banks; only the questions within the banks if they are set to randomize. I will need to defer to the community for additional suggestions.
This discussion is closed. You can start a new discussion or contact Articulate Support.