JavaScript Working In Captivate Preview, but NOT When Uploaded to AC Prime
- July 16, 2022
- 0 replies
- 96 views
Hello All,
I have built many many SCORM files with Captivate 2019 with a "Retake Chapter" button added to the Quiz Results slide. The Advanced Action attached to this button Assigns all User Variables to zero, Changes States of all necessary Smartshapes back to Normal, Hides Smartshapes that were previously Shown, Executes JavaScript "cp.resetQuizData()" in the Current Window, and Jumps to Slide 1 (pic attached). Effectively, this is a "master reset button" for the SCORM file when the student has failed the Quiz too many times, forcing them to start back from the beginning. This Advanced Action works flawlessly when previewing it from Captivate 2019.
I re-engineered 2 dozen Captivate project files for our first course to be put in our AC Prime LMS, and the only portions of the Advanced Action that took was Hiding the Smartshapes that were previously Shown and Jumping to Slide 1.
I can't be sure if the Variables were Assigned with 0 or not (it's possible, but not for certain).
The Quiz Data wasn't reset, and it did not Change the States of Smartshapes to Normal.
I've attached relevant screenshots in hopes I'm making a mistake I can't figure out, but it's tough to think that's the case when the Advanced Action is working perfectly while previewing it from the authoring tool.
Any ideas?
