Limit Data-Entry field to one line

Jul 25, 2019

Hi,

We have a course with a data-entry field for the user to input name. Some users have put in their name and hit enter and claiming the name was deleted. The reality is that the data-entry field is multi-line and the name is simply pushed up where they can't see it. As a result the variable is returning multiple names as they have retyped.

Questions:

  1. How can I limit the data-entry field to just one line?
  2. What other options are there?
8 Replies
Jerry Beaucaire

Does your version of SL give you the option of setting the ENTER key as a submit function?

https://community.articulate.com/discussions/articulate-storyline/text-entry-field-enter-key#reply-458070

 

In my experience, if the textbox is short enough in height, ENTER submits the entry.  If it's too tall, it allows multiple lines of text, which is good in some instances.  Try making the text box shorter. 

Deanna Middleton

Could that be the issue I'm having with this data entry option? I have it triggered to submit with the Enter button, but this is the first time I've seen it actually "return" the line like normal typing functionality rather than submitting the answer. This is also the first time I've ever used a short/wide box. 

CxC Corporate Training

Hello, I am having this problem. I did a screen capture and imported it as a test mode. First the text box appeared as 4 pixels and wasn't even on the slide. I resized it and put it where I want it and now it will not allow me to use the Enter key. I have set the "enter" as the entry key but it still creates a second line and marks the input incorrect. I tried to reduce the height of the entry box but it continues to error out, and now we can't see the question or response.  

Eric Santos

Hi Sarah,

Happy to help! I understand your concern regarding using the Enter key for input. The Enter key behaves differently on question slides and content slides in Storyline, as discussed in this article:

I'd like to ask a few questions to understand your experience better:

  1. Are you using your data-entry field in a question or content slide?
  2. If you're using it in a content slide, what is the height of the data-entry field?

Thanks in advance for your reply!