Forum Discussion

AshleyBurge-83c's avatar
AshleyBurge-83c
Community Member
3 years ago

Help With JavaScript code for Text Entry Printing in Storyline 360

Is anyone who is experienced in JavaScript willing to look at my code and tell me if you see anything wrong with it?

I'm trying to pull multiple text entry answers so the learner can print them all at the end of the course. It's code I've pulled from another course that works perfectly in that course, but somehow is not working in this new one.

I'm testing it in Review 360 and on Chrome. Those are the same conditions that I'm able to get the other course to work in, so I assume those aren't the issue.

When I click the button, nothing is launching or triggering at all. I'm using Visual Studio Code to write it and then copying and pasting into the execute javascript trigger in Storyline.

I've attached a sample of the project here, which is the last few slides and the print button. Any help anyone could offer would be so appreciated!!