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
- cassmillerCommunity Member
Hello,
I am having the same issue. Unfortunately, an essay question will not work for me because I need multiple text entry boxes on one slide, but you cannot have multiple essay boxes on one slide. Even after configuring the slide to advance by a user, making a custom submit button, creating a feedback layer, it still advances to the layer/next slide when you hit enter. Please help!
Hi Cass,
It looks like there have been many ideas shared in this thread, but you have a unique design need with your multiple text entry boxes.
Hopefully someone in the community with some experience with this will be able to chime in and assist you here.
- JennieWagnerCommunity Member
I'm having problems with this as well since hitting Enter when using the keyboard on graded questions (so ADA/508 accessible) with feedback layers does cause the layer to appear, but then it is NOT possible to tab to Continue and so the user is effectively stuck. I'm not sure why the tabbing functionality gets lost for the layer. The only way past the screen is to click Continue, which you obviously can't do if you can't physically use a mouse.
I can, of course, put a message on the slide to not hit Enter and instead tab to the Submit button, but it's common to hit Enter after typing an answer (without even thinking about it), and if a user accidentally does it, he'll be stuck on that screen.
Does anyone have any idea how I can fix this? I need feedback layers and can't just go on to the next slide.
Hi there Jennifer,
Thanks so much for reaching out about this issue, and our team is seeing the same thing. From what we can tell so far, the issue happens when the learner uses the Enter key immediately after typing their answer in a text entry field.
We know this bug is causing a snag for your learners, so our team is taking a closer look at what could be causing this. While I don't have an ETA to offer at this time, we'll be sure to keep you posted on any updates we receive.
- JennieWagnerCommunity Member
Thank you! Oddly enough, I just found a workaround that seems to be ok. If I make the entry box larger to accommodate 3 lines or so, the enter key no longer takes away tabbing on the feedback layer. No idea why, but it's working!
Oh that's interesting! Thanks for sharing that tidbit. I'll do some more testing on that and add it to our bug report.
Thanks again, and I'm glad you got it working!
- StephanieSam195Community Member
Can someone please provide an update. Has this issue been resolved?
Hi Stephanie,
There are a couple of conversations here, and with regards to the original question:
The Enter key will submit a Text Entry question type as you can see in this documentation.
I see that you are replying to Alyssa's last response, so perhaps you are running into the issue shared here about tabbing to the feedback layer. This is still open with our team and I do not have an update at this time. This conversation is attached so that we can provide an update here as well.
- VinceScomaCommunity Member
Hi Everyone,
I am reaching out to share that the issue where you can't tab to feedback layer items when using Enter to submit text entry interaction has been resolved!
The next step is to update Storyline 360 by heading to your Articulate 360 desktop app and clicking "Update" next to Storyline.
If the problem reappears, please let us know! We are happy to help!
- JessicaFeltm424Community Member
Good Afternoon,
This issue is still happening for me and I have the most up to date version of Storyline. When users are typing and accidentally tap the enter button it submits the slide. I would like to prevent this from happening altogether. Please let me know if there is a workaround.
Thanks,
--Jes
Hello Jessica!
When there's a data-entry field on a question slide, pressing the Enter key on the keyboard submits the learner's response for evaluation. In other words, pressing the Enter key is the same as clicking the Submit button.
A workaround for this is to add a trigger to the submit button to determine when the user can "Submit Interaction".