Forum Discussion
Prevent enter key from submitting text entry for evaluation
Hi,
I am having a problem with the text entry. I would like the learner to be able to type a longer text into the text entry box. When he presses 'enter', a line break should be created within the text entry box. However, as soon as the learner presses the enter key, the text is automatically submitted and the learner is moved on to the next slide. Is there a way around this? I deleted the 'next' and 'submit' button and created my own submit button, but this didn't work either. Can anybody help? Thank you.
Sabine
- MauricioRoja204Community Member
Hello Jessica- this sounds promising. Do you have an example of a trigger?
- MauricioRoja204Community Member
could it be a check box under the text field? The user will have to check the box prior to submitting the response. How does it sound?
- RebeccaCarterCommunity Member
I am having this problem again three years later...
I have three text entry boxes on screen - I do not want the enter key to submit the answers..
HOW do I stop this happening??
Is there a quick way round it?
I have the latest version of storyline.
- RenGomezStaff
Hi Rebecca,
If you increase the height of the text entry box to be more than two lines, then the Enter key registers as a carriage return (new line) and does not submit the question.
Does that help with your setup?
- VanessaWright-eCommunity Member
I am also having this issue. I've read that different questions types might be helpful. Is there any solution for this yet?
Hello Vanessa and welcome to E-Learning Heroes. 😊
When there's a data-entry field on a question slide, pressing the Enter key on the keyboard submits your response for evaluation. In other words, pressing the Enter key on the following question slides is the same as clicking the Submit button.
- Graded—Fill in the Blank
- Graded—Numeric
- Survey—Short Answer
- Survey—How Many
- Freeform—Text Entry
You can press Shift+Enter to add line breaks to short-answer surveys and ungraded freeform text-entry questions when the fields are tall enough to allow multiple lines of text.
Hi Annemarie,
Thanks for the additional information. Does Shift+Enter work for you?
- AnnemarieReb048Community Member
Hi Leslie,
When I adjusted it to an essay question, the [enter] button could be pressed without submitting!
Thanks!
That's great, Annemarie. I appreciate you sharing the solution that worked best for your project.
- AtikahHatta-958Community Member
Hi All, I have update my Storyline 360 to the latest version but I'm still having problem with the Enter key not getting the value user type on the text entry. I've set the submit button on the slide & Enter for submit keys. But it doesn't work, when user press Enter key, they're just advancing to next slide. When I want to show their typed value on the last slide, it doesn't show. Can someone help me?
Hi Atikah and welcome to E-Learning Heroes. 😊
We'd be happy to help you.
With your permission, I'd like to take a look at your project file to investigate what's happening. 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.