Keep "Text Entry Field" Line Breaks When Displaying the Variable in a Text Box?

We have users entering a list in text entry field. They press enter after every item in the list. 

When we show them their list later in a text field, the line breaks are replaced with spaces.

item 1

item 2

item 3


item 1 item 2 item 3

Is there a way we can keep the line breaks when the variable is displayed in a text box?

Thanks! Using 360, if it makes a difference. 

5 Replies
Alyssa Gomez

Hi there David,

Thanks so much for sharing your experience with us. I am also seeing this behavior on my end in the HTML5 output, but not in the Flash output. Keep in mind that Previews in Storyline 360 display HTML5 content. It looks like this holds true for any kind of text entry interaction, including Essay questions. You can use the links I included above to test on your end. 

I am going to share this information with our Quality Assurance team, and although I can't give a timeframe for a solution, I'll be sure to share updates here in this thread when they are available. In the meantime, the only workaround I can offer is to use the Flash output instead of the HTML5 output. 

Ashley Terwilliger

Hi Morten,

Yup - our team is looking into two issues:

  • When the Text Entry loses line breaks when the variable reference box is on a different slide.
  • When the Text Entry doesn't keep line spacing while a user enters in text.

This discussion is linked to both of those open issues so we can update you here once there is more detail to share.