Forum Discussion
Text Entry Field, "Enter" Key
Hi Keith
Here's how Storyline handles the Enter key in data entry fields:
* If the data entry field is tall enough to accommodate more than one line of text, the Enter key will add a line break (return), so the user can start a new paragraph.
* If the data entry field is only tall enough for a single line of text, the Enter key will assign the user's response to the text field's variable. In other words, it will submit the user's response.
This article has more information, but you may want to try making your data entry field taller so an Enter key won't automatically submit the answer.
Hi Peter,
I've come across this discussion as I'm having problem with text-entry boxes in my software simulation. I do want "enter" to submit the entry, but the box is too tall (it accomodates more than one line of text) and it doesn't work - how do I change the box not to be too tall (it has to be only tall enough for a single line of text)? I guess Storyline inserted a text-entry slide that was too big compared to what is in the software, I manually changed the size of the field but this setting I don't know how to change. I can add triggermanually (as instructed in this article https://articulate.com/support/article/how-the-enter-key-behaves-in-data-entry-fields) but still - how do I get rid of this problem in the box itself (please find attached screenshot to know what I mean).
kind regards,
Marta
- VinceScoma5 years agoCommunity Member
Hi Marta,
Happy to help! It sounds like you may need to add a submit key interaction by pressing a specific key. Do you have the Enter key listed in the "Submit Keys" field in Form View:
If you need our help to take a look at your file, we're always more than happy to help! You can share files to this thread or you’re always welcome to share them privately here. We'll let you know our findings and will delete it after having a closer look!