Forum Discussion
Text Entry Fields Reset
Is there away to allow text entry fields to reset to their default, "Type your answer here..." state? Even with slides set to "Reset to initial state", the text entry fields remain populated with whatever text the user input live.
Thanks
- PhilMayorSuper Hero
The text entry field displays the variable value, you could add a timeline trigger to reset the value to null when the slide starts, I expect that would show the type your answer here text again (possibly).
- DouglasHarrimanCommunity Member
Hi Phil,
Thanks! Here's how I got that trigger to work. 'A' was the variable I assigned to my text entry field.
And the one thing I noticed is that you have to set this up as a slide trigger (so don't have anything selected in your slide before clicking the create new trigger button) - when I tried setting this up as a text entry trigger, it didn't work.
Cheers and now on to my other text entry question,
Douglas
- RebeccaFleischCCommunity Member
Hi Allison,
It's true you reset the slides to their initial state, but variables must be reset separately. I've done this for you two different ways.
On slide 1.2 I added a trigger to adjust (reset) the text entry variable to "type your test here" when the timeline starts. That's what the text entry box (#29) looks like the first time around. This DOES cause the text to be highlighted when Learners type init.
On slides 1.3 an 1.4 I added triggers to adjust the text entry variables (#65 and #31) to blank when the timeline starts.
You also have a LOT of text entry variables in the trigger wizard that aren't currently being used by this slide...just a heads up.
- DonAdamsCommunity Member
Clearing text entry also has me going in circles. Douglas, your method works for me as far as clearing test but a problem arises that I have not been able to solve. I have a slide with an image on it; the image has 5 items for the student to identify. After they type into 5 text entry lines, they can click on a "check answer" button. So far so good, as the method above provided by you clears the text boxes when I leave and return. However now the return takes me back to the layer with the responses (does not wait for the user to hit the check answer button). Changing the "when revisiting" to all three settings does not seem to make a difference,
- DonAdamsCommunity Member
Got it, but it is sad that so many variables have to be set if one wishes to set up a set of teaching slides where the student answers several text entry questions on each slide.
- BlairRoraniCommunity Member
I complete my scene then hyperlink back to slide #2.I have added a slide trigger to set the text entry field's variable to ' ' when timeline starts.However, my text entry field is then unselectable. Also, next / prev buttons are now visible. When I click them the previously entered values appear.Any ideas?
- JoshUhligCommunity Member
Blair,
Assuming you have made it a quiz question, it sounds like it is a matter of the quiz question settings. By default, once a question has been submitted, the answer can't be changed. Although some question types will allow you to change the number of attempts your text entry question may only allow one attempt. This is why you see the next and previous button, and the submit button has disappeared. You would need to reset the quiz results before being able to change the answer.
Hi Blair and welcome to Heroes! It looks like Josh is helping you along, but if you need anything else let us know!
- DarrenSuttonCommunity Member
I have a similar issue to that of Blair above, (when timeline starts my text entry field is then unselectable), but mine is slightly different in that I am using a text entry field within a screen record.
I have a screen recording of a process that the viewer will click through. Apply, Ok that type of thing but I also have them enter a username and password. On the first pass through the slides it works perfectly but at the end I offer the ability to replay. It is on the second pass that the fields become uneditable/unselectable.
Following the steps in this thread has cleared the fields of the previous data and the triggers have been applied to the slide. Is it possible to reset these type of fields?
Regards,
Darren
- ChristineHendriFormer Staff
Hi Darren,
Just curious - have you tried setting the revisiting settings for the slide with the text field (in your recording) to "Reset to initial state"?
Using that option should completely reset and reload the slide that contains the text entry, allowing learners to enter text again.
If you haven't already, can you try that out and let us know if you see any improvement?
If you still have trouble, are you able to share the .STORY file here?
Thanks!