Object state not changing as designed by trigger when user uses keyboard to access text entry

May 24, 2023

Hello! I am running across an issue in Storyline where when using the keyboard to perform interactive items, a particular trigger isn't triggering. For example, the trigger I have is to change the state of a shape to normal when user clicks text entry field. The state of the shape does not change when tabbing into the text entry field but does work when using the mouse to click in the text entry field. Any advice on how to get the object to change state when a user is utilizing the keyboard to access the text entry field? 

5 Replies
Steven Benassi

Hi Susan!

It sounds like you are having an issue with triggers regarding keyboard navigation. Sorry to hear that, but I'd be happy to help troubleshoot with you!

It would be helpful to take a closer look at the slides you've built out so far. Would you be willing to share your project file here in the discussion or privately through a support case?

Thanks for reaching out! Looking forward to hearing from you!

Susan Rice

Hi Steven. Thank you for your response. Attached is the slide I am having issues with. On the image of the slide there is some data displayed in the fields. The user is to replace the data with information that was provided earlier in the course. When they click in the text entry fields the data displayed should disappear and appear as a blank field. This works perfectly when clicking in the text entry field using the mouse but does not work when using the keyboard to tab into the text entry field. 

Jose Tansengco

Hello Susan, 

Thanks for sharing a copy of your project file. 

The reason for the behavior is because you have a trigger setup to hide the visible text on the screen which doesn't exist for the tab event. Here's an example where the 'end date' associated with Text Entry 13 will change to its Normal state when the text entry box is clicked on. 

Unfortunately, there isn't a way to convert this so that the text entry box recognizes that it has been tabbed to. As a workaround, you can try using the default text entry box without making use of images, as doing this will allow text to be cleared out as soon as learners start entering text into the entry box.

Hope this helps!