Data Entry field without an enter

Aug 10, 2015

I am creating an application simulation.  I would like to the user to enter in the letters AUSTR and then the next layer will be displayed that will have the drop down box.  I would like them to do the typing and then when they get to the r it displays the next layer, without having to press enter.  Is there a way to do this?

4 Replies
Michael Burns

Hi Catherine, unfortunately not - Storyline doesn't "grab" the text until "control loses focus". This means that it won't recognize that certain text has been entered until the user clicks outside of the field, or hits enter, or something similar.

One workaround is to show the layer when the user clicks on the text entry field, but only let them progress if they type "AUSTR" (i.e., a trigger using the condition "if textentry == AUSTR"). Hope this helps -

Jackson Hamner

You can technically accomplish this by using a bunch of JavaScript instead of the text entry box.

Heres the demo

Basically there's a javascript trigger for each key and it updates a variable when you execute a keypress. When the variable changes and is equal to your value it shows the layer. 

This method isn't very practical, and it doesn't work 100% of the time (when the player loses focus), but I just thought I'd throw it out there in case it could help.

Michael Burns

Hi Catherine, Jackson gave me an idea.... he has such a cool Javascript idea, but it got me thinking - how about "chaining" variables together in Storyline?

Check the file - to show a layer, the user has to do the following in order:

* Click the text entry field

* Type each letter in order, in the field

When the 5th later is typed, the 2nd layer shows (you could insert a dropdown here).

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