Forum Discussion
Setting focus to text entry box in Storyline
Hi to everyone - I hope this thread is still alive.
The tips above - (1) putting the background on a slide master, and (2) moving the text entry box to the bottom of the timeline - so that the focus of the screen is on the text entry box from when the timeline for the slide starts, enabling the student to input the data without clicking on the text entry box are great tips and they work fine for me. However, . . .
If the user enters the wrong string, I present them with a feedback layer that says "Wrong text" and has them click OK, which hides the incorrect layer and in effect sends them back to the base layer. But once that happens, the focus/cursor is no longer at the beginning of the text entry field; the user has to click in the text entry box in order to enter the correct text. This would not happen in the actual system that I am trying to mimic - it would give them an error message but put their cursor back to the beginning of the field.
Does anyone know of a solution where an incorrect entry (followed by incorrect layer feedback, where I also clear the text entry by setting it to blank, thus removing their incorrect text string) will put the cursor back to the beginning of the text entry box?
I hope I have explained that well enough. Any pointers would be welcome.
Thank you!