I have attached a Storyline file to go with this post.
We designed an exercise to help learners test the strength of a password.
You have to click the background to execute the JS because it will NOT run if you click a button, shape, or text box. From a previous ticket I put in with Articulate, neither we or they knows why the JS execution functions this way. Since Articulate doesn’t officially support JS, they sent me out to the community.
I was forced to create a workaround and add a First Check “button” image to the background. This way it looks like the learner is clicking a button to activate the JS.
The problem is that when you first access this slide, if you click somewhere else on the background before typing a password and clicking “First Check”, the exercise will execute as if you had. So the “Second Check” button will show and the “General Guidelines” will appear on the slide. All this happens without you typing a password.
This is something we discovered in our testing. No customer has complained about this as of the time this was documented.
I was able to prevent this from happening after the “Second Check” button is clicked because I have a transparent box appear after it’s clicked.
I’m putting this back out to the community to see if anyone can provide us with any insight as to why JS will activate by clicking the background, but not a button or shape.