Forum Discussion
Saving checkboxes in Rise
Hey Jennifer,
Thanks for testing this out! I completely forgot to mention that the checkbox.js file contains a line which redirects the user back to the main menu when they resume the course.
(Highlighted yellow)
The reason for this is because the checklists ONLY get applied when the page URL changes... So I redirect learners to the starting page so that they are forced to click on a link.
The learner's progress is still saved though - they just have to click the continue button on the starting page to resume where they left off. I know this is a hacky solution, so I'll absolutely look into fixing this when I have the time.
If bookmarking is absolutely crucial, you should be able to remove the highlighted code above - just keep in mind that if the current lesson contains a checklist, it will appear unchecked until they navigate to another lesson.
Sorry for the oversight! Hope this clarifies things a bit better.
- JenniferRo-23326 years agoCommunity Member
Thanks so much for your response Ben! I am actually finding that the
progress is not saved and when clicking on the Get Started button from the
starting page of the course it is showing 0% complete.Would love to see a solution that keeps the checkboxes selected and saves
the learner's progress in the course, so I will continue to follow this
post.Thanks again for your help!
Jennifer
- BenMcKenna-ba886 years agoCommunity Member
Oh in that case I'm a little stumped! It doesn't sound like an LMS issue since it seems to be saving checkbox data, but I may have missed a step...
Just double check that your index.html changes look something like this:
stringData[0] contains the progress data, and stringData[1] represents the checkbox data. So if there's an issue with progress, then it's probably due to stringData[0]...