Reset all variables in a chapter?

mbuitenkamp-4316
Community Member Posts: 15 ☆ Roadie ☆
Hi,
I'm looking for one of two things:
1. a way to reset a test from another page outside the test (I don't see the 'reset test/survey' option?)
OR
2. a way to reset some 50 variables at the click of a button, but only within one chapter.
All the other variables should remain untouched.
Is that at all possible?
Looking forward to ideas
I'm looking for one of two things:
1. a way to reset a test from another page outside the test (I don't see the 'reset test/survey' option?)
OR
2. a way to reset some 50 variables at the click of a button, but only within one chapter.
All the other variables should remain untouched.
Is that at all possible?
Looking forward to ideas

Answers
-
wheels Florida USACommunity Member, Administrator, Moderator, Rockstar Manager Posts: 666 eLearning ROCKSTAR Admin Team
One possibility.
Add a variable called do_reset_test initially set to zero.
Add a page to the Test at the beginning. Then add an on show action go to next page if do_reset_test is zero. Add another on show action reset test if do_reset_test is 1. Add another on show action go to previous page if do_reset_test is 1 delay by 0.1. Add another on show action modify variable set do_reset_test to zero.
Then you can add a button anywhere in the course that will reset the test. Add an action to set do_reset_test to 1. Add an action to navigate to that first blank test page.
-
Categories
- 35.9K All Categories
- 109 ✫ Announcements
- 33.1K Lectora®
- 31.1K Lectora Discussions
- 28.9K Lectora Desktop
- 2K Lectora Online
- 2K Lectora Feature Requests
- 71 Lectora User Groups
- 36 Lectora Accessibility User Group (LAUG)
- 22 ELB Learning Content
- 22 ELB Learning Content Discussions
- 324 CenarioVR®
- 191 CenarioVR Discussions
- 133 CenarioVR Feature Requests
- 41 Rockstar Learning Platform®
- 38 Rockstar Learning Platform Discussions
- 108 CourseMill®
- 108 CourseMill Discussions
- 47 ReviewLink®
- 47 ReviewLink Discussions
- 7 The Training Arcade®
- 7 The Training Arcade Discussions
- 934 All Things eLearning
- 36 eLearning Development
- 546 Learning Management System (LMS) Integration
- 332 Web Accessibility
- 1.2K ♪ The Green Room
- 9 Additional Learning Products