How to overlook default ENTER Key from Text Entry

Sep 29, 2016

I have a recorded simulation made in Storyline 2,where user has to put TAB when he/she enters a value in text entry. But by default text entry accepts ENTER Key also to accept the value given in text field.

I need only TAB should be worked to evaluate the text field entry and not ENTER Key.

Any Help would be appreciated.

8 Replies
Pedro Fernandez

From what I know of Storyline and based on experience there is no way to override or ignore the ENTER key when you have a text input box that is being evaluated.

You can find more info on the ENTER key behavior in Storyline here: https://www.articulate.com/support/storyline/how-the-enter-key-behaves-in-data-entry-fields

 

Alyssa Gomez

Hi Elizabeth! Tell me more about what you're looking to do. There may be an alternative I can suggest!

If you can share a copy of your slide with me, that would be really helpful! I'd love to get a closer look at what you've got so far. 

You can share it publicly here, or send it to me privately by uploading it here. I'll delete it when I'm done troubleshooting.

Elizabeth Levine

I'm trying to simulate filling out a form on an application.  The form has multiple fields.

If you click the enter key on the actual application, the form is submitted.  The user should only click the enter key when all the fields on the form are filled out.  Prior to that they should use the tab or click to the next field.

So, I'm having them fill out a text entry field on the form and don't want the Enter to be a correct choice for them to use to submit the answer.  I want them only to be able to use Tab.

I hope that clarifies my intention.

Crystal Horn

Thanks for sharing, Elizabeth. If you're using a text/data entry field, the enter key will behave as described here. Some folks have looked at creating a larger entry field so that pressing the enter key creates a carriage return rather than submitting the question.

In the meantime, I'll submit a feature request to address your need to disable the Enter key as the default answer submission.

Sam Lincoln

Deepak, I've overcome this problem by creating layers and triggers. See my example and source file attached.

Essentially you'll need to create a data entry box on the base and layers (make sure that the text boxes are formatted to enable the entry/return button to be used to enter new lines of text).

In the slide layer properties pop up menu allow each layer to show other slide layers if you want to see them (e.g. if using this method to complete a form). You should also allow the user to click on the base layer which allows previous entries to be edited.

Use the trigger 'show layer # when user presses the TAB key' or 'show next slide when the user presses the TAB key'.

I deleted the next/previous button triggers so that the TAB button activated navigation.

In my example there are two layers (i.e. 3 text boxes) and a slide which collates the entry of all three text variables.

Hope that helps.

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