Javascript not executing correctly
I've been using articulate to build out a tool for people create comprehensive school safety plans. Part of the tool (scene 5 in the attached articulate file) has slide that shows people where strategies they've checked off on a previous slide fall based on two dimensions.
On the first slide of the scene (5.1), users would check off all strategies they are using and hit the submit button. That triggers a layer where true/false variables for each checkbox are adjusted if the box is checked before moving on. The final results slide (5.4-matrix) is intended to show a matrix of selected strategies organized by two different sets of variables. I've been using javascript code to put those items into arrays.
I've been running into some problems with this approach. When I preview the entire story, the code does not appear to run at all. When I preview just the scene, the code does run but marks all variables as true regardless of what was checked off. I'm hoping someone can take a look at the file and provide some guidance on how to resolve this.
Thanks!