variables are not reset when learner chooses to start over

jimmayes
Community Member Posts: 3
I'm developing a course published to SCORM 2004 that grades the learner in multiple categories based on decisions they make. These category scores are handled via custom variables. So for example a learner might answer a question in a manner where they would gain points in category A and the variable CategoryA is simply being incremented. These variables have the "Retain variable value between sessions" check box ticked.
The problem I am running into occurs in the LMS. When a learner begins the course, answers a few questions, accumulates points in one of these custom variables and then exits and returns later... the LMS gives the learner the option to continue from where they left off or start over. If the learner chooses to start the course over, they are placed at the beginning of the course however, these variables have not been reset and retain their value form the previous session.
It seems correct that these variables would need to be set to retain their value so that if a learner returns and chooses to continue from where they left off, the variables could be restored. And that, indeed does work correctly. However, if a learner selects to start over, why wouldn't these variables be reset?
We have tested this course in scorm cloud and moodle and encountered this issue in both. It also may be worth noting that on specific pages of the course these variables are being manipulated using custom javascript. However this issues occurs even if the learner has not reached one of those pages, so it seems unlikely to that the custom scripting is a factor.
Am I missing something in the configuration of the course or these variables? Or is there possibly even a way to detect that the learner is starting over so that these variable could be reset manually if the LMS can't do so automatically?
The problem I am running into occurs in the LMS. When a learner begins the course, answers a few questions, accumulates points in one of these custom variables and then exits and returns later... the LMS gives the learner the option to continue from where they left off or start over. If the learner chooses to start the course over, they are placed at the beginning of the course however, these variables have not been reset and retain their value form the previous session.
It seems correct that these variables would need to be set to retain their value so that if a learner returns and chooses to continue from where they left off, the variables could be restored. And that, indeed does work correctly. However, if a learner selects to start over, why wouldn't these variables be reset?
We have tested this course in scorm cloud and moodle and encountered this issue in both. It also may be worth noting that on specific pages of the course these variables are being manipulated using custom javascript. However this issues occurs even if the learner has not reached one of those pages, so it seems unlikely to that the custom scripting is a factor.
Am I missing something in the configuration of the course or these variables? Or is there possibly even a way to detect that the learner is starting over so that these variable could be reset manually if the LMS can't do so automatically?
Categories
- 4.7K All Categories
- 3 New Feature Releases
- The Training Arcade®
- Arcades™
- 57 ✫ Announcements
- 6 ✪ Contests
- 34.1K eLearning Brothers® Products
- 33.6K Lectora®
- 31.6K Lectora Discussions
- 1.9K Lectora Feature Requests
- 64 Lectora User Groups
- 16 Asset Library
- 10 AssetLibrary Discussions
- 6 AssetLibrary Feature Requests
- 290 CenarioVR®
- 169 CenarioVR Discussions
- 121 CenarioVR Feature Requests
- 29 Rockstar Learning Platform®
- 20 Rockstar Learning Platform Discussions
- 9 Rockstar Learning Platform Feature Requests
- 4 Off-the-Shelf Course Library
- 3 Off-the-Shelf Course Library Discussions
- 1 Off-the-Shelf Course Library Feature Requests
- 114 CourseMill®
- 107 CourseMill Discussions
- 43 ReviewLink®
- 31 ReviewLink Discussions
- 12 ReviewLink Suggestions
- 2 The Training Arcade®
- 1 The Training Arcade Discussions
- 1 The Training Arcade Feature Requests
- 10 Additional Learning Products
- 2 Adobe®
- 4 Articulate®
- 2 Camtasia®
- Docebo®
- 1 iSpring®
- 1 Microsoft® PowerPoint®
- 912 All Things eLearning
- 5 Course Development Showcase
- 1 eLearning Brothers® Downloads
- 1 Compliance Training
- 11 eLearning Development
- eLearning Game Design
- 7 Instructional Design
- 546 Learning Management System (LMS) Integration
- 2 Mobile Learning
- 5 Visual Design
- 328 Web Accessibility
- 1.2K ♪ The Green Room
- 7 ♡ Community Feedback
- 7 Community Tips