Cannot Get Text Boxes to Clear When Restarting a Scene
Mar 24, 2013
I posted this a couple years ago and never found an answer. I have a Question Bank with 10 questions, the Scene is used by multiple students (1st Grade spelling practice). I want the fill-in-the-blank text fields to clear after the 10 questions/slides are run though by one student, so the next student doesn't see any of the previous student's text entries.
I've tried attaching a "Restart course when the user clicks" trigger to a "Restart" button. That doesn't work. Earlier I tried adding a trigger to "Reset results <result slide> when the user clicks" to the result slide. That doesn't work. I tried adding a slide in the scene (prior to the Question Bank draw slide) that "Resets results <result slide> when the timeline starts." That doesn't work.
What works is quitting the program and starting it all over...not a very elegant solution.
This dilemma frustrates me almost as much as NOT having the Backspace key work in a text entry field and NOT having the cursor automatically appear in the text box when the slide/question is displayed.
I'm trying to create a spelling game that doesn't require the teacher to always say, "click in the text box before you answer" and "ignore that old entry, type your own answer." :-(
Help?!?
17 Replies
Hi Jonathan,
I just tried an approach with a 2-question question bank slide, based on your statement:
"I want the fill-in-the-blank text fields to clear after the 10 questions/slides are run though by one student, so the next student doesn't see any of the previous student's text entries."
So,
II created a 3rd slide that's just a Start over slide. I inserted a button called Start over that jumps back to the question bank slide
Seems to be working. Do you think it might work for what you're doing?
In your third bullet, I assume you mean the trigger is set to "Adjust variable > TextEntry1 > = Assignment > Variable = unassigned > When timeline starts" ??
I vaguely remembered trying to set each slide properties (using the "gear") to "reset to initial state" and I re-tried that just now and it doesn't work alone, so I'm adding the variables.
Hi Jonathan,
Need to run..not sure when I can check in again. But here's the "short" story.
So glad to hear it.
Yes, thank you Rebecca, This is exactly what I needed too!
Glad that this thread is still assisting users. Thanks for sharing Lianne :)
It was a life saver :)
Thanks for your service!
Just an FYI to all those attempting to reset text fields in quizzing questions. There appears to be a problem (ie. bug) with this approach of setting the text field variable to null or blank on slide start. The first run through the slide will correctly display the "type your text here" temporary text in the text field which then disappears upon clicking into the field. However, any further return visits to the same slide (regardless of reset to initial state options) will simply display the same text field now as "blank", that is empty. The temporary text "type your text here" is no longer displayed in that text field as an indictor to the user of where to actually enter their response. I've tried setting the text field to both "blank" as well as a null variable to no avail and have resigned to calling this a bug. The solution at this point is to have additional instructions on screen indicating to the participant where to actually enter their answer. Certainly not a best case scenario, but effective in at least erasing the responses from previous visits to the same slide.
Thanks Paul and I see you've sent a case as well to our Support team - so they'll be investigating what you've described in the event we need to submit to our QA team for additional review. I'll follow along in your case (# 00701458) as well.
Are there any updates on this? I'm having the same problem with the text fields not resetting to the initial state when returning to the slide.
Hi Jenny!
This thread is a bit dated and looks like most of the users were able to resolve the issue.
In addition to resetting, be sure that the slide is set to 'reset to initial state' as well.
In Paul's case, the text not showing up, "type your text here", is what was filed with our QA Team and I do not have an update to share regarding that.
This tread started 3 years ago and I have this issue with the text not clearing out when revisiting a slide. My slide is set to initial state when re-entering. Ughhh. Please let me know if there is a fix for this
Hi Joan
have you tried resetting the variable to blank when timeline starts?
Hi Joan and welcome to E-Learning Heroes!
Looks like Wendy has popped in to assist you here. Just let us know if you need anything further and you are welcome to share your .story file if you'd like us to take a look.
Perfect, thank you!
Glad that will work for you Joan - good luck with your project!
This discussion is closed. You can start a new discussion or contact Articulate Support.