Pass to and from Javascript?

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
Christie Pollick

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! 

Virginia Driscoll

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.