Reset State of Text Input field on revisit

Jan 24, 2017

I have set all slides to 'Reset to Initial State' but when slides are revisited the original text input be the Learner is still there and the slide wont advance.

Anybody any ideas/a solution, please?

Thanks.

4 Replies
Anne Seller

Hi Steve,

The Text Entry box is connected to a variable called "TextEntry". That means that the value of the variable "TextEntry" will be equal to the text that the user puts into the Text Entry box. If the user changes the inputted text, then the value of the TextEntry variable changes accordingly.

If you would like an empty box to show up (for instance, when the user goes back to the introduction slide), then you need to add a trigger to that slide to reset the value of the "TextEntry" variable to be empty. (If you were working with a number variable, you would reset it to a value = 0.) Please see the attached screenshot.

I hope this helps. This approach works for me, but someone out there may be able to provide a better solution.

By the way: I find it really helpful, when I am working with variables, to insert a reference to the variable to the slide, so I can see how it changes. In this case, you could insert a button on your slide, then choose Insert > Reference and select the variable TextEntry. The button will appear with the text: %TextEntry% inside of it. When you preview your project, you will see the value of the variable inside the button.

Cheers,

Anne

This discussion is closed. You can start a new discussion or contact Articulate Support.