Forum Discussion
How to Submit Highest Score to LMS from Multiple Quiz Attempts
There used to be the option to edit the scorm driver so score can only improve has that been removed?
Sent from my iPhone
Jan had me attempt changing the "var REVIEW_MODE_IS_READ_ONLY" in the scormdriver.js file from true to false, but that didn't seem to work after testing it out. Is that what you're referring to?
- PhilMayor3 years agoSuper Hero
No there used to be another option for score can only improve.
Sounds like it may have been removed.
Would need to have a play, I think you could read the score in via JavaScript and then only submit the trigger if the score is higher.
Sent from my iPhone
- SeanSanders3 years agoCommunity Member
I found the "var SCORE_CAN_ONLY_IMPROVE" line above the "var REVIEW_MODE_IS_READ_ONLY" line in the scormdriver.js file, set it to true, tested it quickly on SCORM Cloud, and found that it's still doing the same thing: taking the last score instead of the best score. Also tested this with "var REVIEW_MODE_IS_READ_ONLY" set to both true and false with the same results.
However, I'm new to messing with these scormdriver settings, so I'd definitely be curious to see if there's something I missed or if there's a setting I need to couple with the "score can only improve" setting to get it working properly. Also, your Javascript idea sounds interesting. Would love to know how to build that.
- SocratesAnas2613 years agoCommunity Member
Hi Sean,
Any luck with your quest?
When you said 'messing with scormdriver.js' what do you mean? Where is this file located, and for what purposes would you edit it?
Thanks