April 27, 2017 at 10:52 am #354320
It would be great if, when selecting the “Reset All Variables” action, you could further choose whether you want to reset all of the variables in the title (which is what it currently does), or just in the chapter, section, or current page. This would be especially helpful for developer-testing purposes, but could also potentially have other uses, too.This post has received 1 vote up.May 1, 2017 at 9:01 am #354695
I’ve shared your suggestion with the development team 🙂May 1, 2017 at 9:15 am #354711
Thanks, Jennifer! 😀May 22, 2017 at 11:41 am #357163
The development team wanted me to pass this along:
You can already reset the tracking variables for any chapter/section/page. Just use the Set Tracking Status action and set it to Not Started. Not started will reset that item and all of its children. For example, if a Chapter is set to Not Started, all of the Sections, sub-sections, and pages within it are also reset to Not Started (because it would make no sense for a chapter to be Not Started, but items within it be In Progress or Completed).
It’s talked about in this webinar: https://community.trivantis.com/knowledge-base/whats-new-in-lectora-11-3/
May 22, 2017 at 6:01 pm #357210
- This reply was modified 2 years, 1 month ago by Jennifer Valley.
Thanks for the pass-along!
However, I wasn’t talking about the built-in completion tracking variables necessarily – actually, I was thinking more along the lines of custom variables and quiz questions (something that could be used with any kind of variable one might have).
So, hopefully, they didn’t mark this suggestion as “done” on their list…if so, I’d like to reset that variable, lol! 😉 🙂May 23, 2017 at 5:43 am #357311
This would be really useful. I needed this functionality recently for a huge module that included multiple system-simulation scenarios (all in their own chapters). These scenarios used a lot of checkboxes, radio buttons, entry fields and I needed these to be reset so that if the person chose to go through a scenario again it was presented to them in the initial state. I had to set up an action group on the scenario launch page to reset every individual variable.
Note: I couldn’t use the ‘reset all variables’ option as there were numerous other things that I was needing to track in the module.May 30, 2017 at 3:12 pm #358276
Here’s the response I recieved from dev:That
“That is currently the only way to do it; have an action group that has ModVAR action in it for each variable you want to reset to some other value.However, there is a way to do it perhaps more easily using inheritancePut the action group at the title level that has all of the ModVAR reset actions. Inherit that group to everywhere in the title. (Remember, an action group only runs when it’s called so it will have no effect until you need it.) Then whenever you need to reset, all you need is one action to run the action group. You don’t have to repeat all of the actions for each scenario. If the combination of variables you need to reset is different depending on the scenario, just copy the action group at the title level (and rename it), and change the included set of actions. Then you can have an action to RunActGroup A or RunActGroup B, as needed.Perhaps in the future we can change the Reset Variables action to allow you to select the variable(s) to reset instead of “all”.”May 30, 2017 at 3:31 pm #358281
Tim KMember296 pts@timk
For all form elements it may be an idea to add them to a form, one for each page. This will provide you with the “Reset form” action to reset all checkboxes, radio button groups, entry fields etc. If you have many in a chapter you can use a Test chapter with questions for all checkboxes etc. Test chapters can contain content pages there’s no need for a question on every page. Then you can “Reset Test / Survey” to reset a single chapter only with one action.June 13, 2017 at 8:08 am #359905
Jason DalrympleMember44 pts@JasonADal
I was looking at the same type of scenario and was planning on using a form until I found a tiny hiccup, which I’ll post as a separate section. I did have an idea that maybe this type of function could be added as an action and when the action is created, instead of just adding the action, you could create a selection box with the list of custom variables and the user could just check them off.
I’ve used the form option quite a bit and it’s great, because part of my simulation has a “Clear Info” button, which not only helps me, but also helps screen reader users navigate as well.June 30, 2017 at 9:27 am #362207
We agree this would be beneficial and we hope to have it in a future version of the product. We’re looking into modifying the reset variable action so it includes the ability to pick and choose which variables you want to reset.
You must be logged in to reply to this topic.