Text Entry while hitting Enter
Apr 05, 2019
Hi Guys,
I have a TEXT ENTRY quiz and it doesn't work properly when Enter is hit. If the learner doesn't enter the text in the TEXT ENTRY box but hits Enter they should get "You must complete the question...." but instead it gets them to the Incorrect layer straight away.
It's all fine when the base layer properties are set with Submit button but I have my own personalized Submit button so I can't set this up like that. It looks like a serious bug as Enter should behave the same no matter what settings the base layer have, right?
5 Replies
Hi Jacek,
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 learner 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 learner's response to the text field's variable. In other words, it'll submit the learner's response.
You'll find more details in this article.
Hi Ashley, thank you for the effort but this is not what I asked about ;) Once again, when the learner hit Enter without writing anything in the TEXT ENTRY box, they should get "You must complete the question...." rather than INCORRECT layer. Why would just hitting the Enter be counted as INCORRECT?
Hi Jacek
if you are using your own submit button you just need to use conditional triggers - see this Peek and see attached sample - hope this helps
Thank you Wendy. My Submit button works perfectly fine here ;) This is about hitting Enter and having an INCORRECT layer. This should not happen.
Works fine for me. When I hit enter without entering any text, it says you must complete the question. See the story file attached. If you are having difficulty, share your slide in a story file.
This discussion is closed. You can start a new discussion or contact Articulate Support.