Storyline: How the Enter Key Behaves in Data-Entry Fields

Article Last Updated

This article applies to:

Here's how the Enter key behaves on question slides and content slides in Storyline.

Question Slides

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.

Essay questions behave differently than other question slides since they're likely to have multiple paragraphs. You can press Enter or Shift+Enter to add a line break (return) in essays.

Content Slides

When you add a data-entry field to a content slide (i.e., a non-question slide), two things automatically happen:

  • Storyline creates a variable to hold the data that the learner enters.
  • Storyline also creates a trigger that sets the value of the variable to whatever the learner types in the field.

And here's what happens when you press Enter or Shift+Enter on content slides with data-entry fields:

  • If the data-entry field is tall enough to accommodate more than one line of text, Enter or Shift+Enter adds a line break (return) so you can start a new paragraph. For example:
  • If the data-entry field is only tall enough for a single line of text, Enter or Shift+Enter assigns the typed value to the variable. For example: