Forum Discussion
Reset to initial state not working on an activity not being tracked
Morning, I have one more issue with my e-learning. I have an activity (slide 2), I set it to "Reset to initial state" when revisiting.
but when I go to the next slide and press the previous button, the activity slide still shows what I typed in the text entry box.
I am thinking i need some type of trigger to clear the text entry box but can't figure it out. And really thought resetting should have worked.
I have attached just the slide before and after the one I am having an issue with. You can type anything in the text entry box the answer will come up when submit is pressed.
This is not being tracked with a results slide, this is just a random activity they can try throughout the course.
Thanks Teresa
18 Replies
- MichaelHinzeCommunity Member
On slide 1.2 add a slide trigger to reset the textentry to blank. See attached a revised file.
- TeresaVanderposCommunity Member
Michael, you are fantastic! The speed of your responses, is truly saving my butt as I am on a tight timeline. I was just going through the final run through when I noticed this. I knew I had to do some type of trigger where there was no value but just couldn't figure it out.
Can you explain to me though why Reset to initial state for slide properties wouldn't have been enough. I would think that was stating return it to original (meaning field blank) when you come back. But I must not be processing it correctly.
You have been like my knight in shining armour the last few days. Please know how truly appreciative I am!
Teresa
- MichaelHinzeCommunity Member
The 'Reset to initial state' option only applies to states of objects and the timeline, it doesn't reset the VALUE of variables. See here for some info on the revisit options.
- TeresaVanderposCommunity Member
Great, thanks I will take a look!
Cheers
Teresa
- silvianealCommunity Member
I know this is an old post but hopefully someone can help me with the problem described in this post. I have added the trigger that Michael suggested but the text extry is not cleared when revisiting the slide. I'm attaching the slide for your reference. Thank you!
- PhilMayorSuper Hero
@Silvia which slide is it?
- PhilMayorSuper Hero
Hi Silivia I think it is the Scene called JE if you look you are setting textEntry24 to blank but that the next slide uses textEntry25 not 24
- PhilMayorSuper Hero
I am wrong the trigger is set correctly and works fine for me if I set a default value it is removed.
- silvianealCommunity Member
Thank you for the quick response Phil! So you are saying that what I did works for you? I meant to delete the first JE scene so I am re-attaching the file to make it easier to check.
- PhilMayorSuper Hero
Yes works for me going backwards the variables are reset.
- silvianealCommunity Member
Any idea why it's not working for me when I preview the scene?
- PhilMayorSuper Hero
Yes, it looks like when you go back the slide is being submitted and you are jumping forward.
You need to reset the variable on the previous buttons so it is reset before you join the slide.
- silvianealCommunity Member
Thanks again, Phil. Would you mind clarifying what I'm supposed to do? is the trigger to reset the text box in the wrong slide? And, again, did my slides work fine when you previewed them or only after you did something else?
- PhilMayorSuper Hero
Look at the example I sent on the second slide. I am resetting the variable before the previous trigger.
I checked your slide trigger which is correct and should work and then I gave the variable initial value and found it reset. The only issue here is the slide is a question slide and some oddity is happening when you go back the slide is submitting before the reset trigger so it jumps forward again (which is why you thought it wasn't working). If you reset the value on previous it stops this happening.
- silvianealCommunity Member
I'm trying to make this work in another scene but it's not. Could you confirm what trigger I need to add and to which slide? When I test your file, clicking Previous on the first slide resets the text box on the first slide just fine. However, it doesn't work when you click Previous on the second slide (i.e. nothing happens). I've tried changing TextBox25 to TextBox24 (just in case) but that didn't work either. I am at a loss here. Should I open a case?