Skip to main content
Participating Frequently
July 26, 2013
Question

Line Breaks in Text Entry Boxes

  • July 26, 2013
  • 1 reply
  • 1548 views

I want to use a text entry box to capture learners' throughts about a topic at the beginning of a course, and then call their text back once the course is over to ask whether their impressions about the topic changed.

I'm anticipating that the users might enter a paragraph or two of text, but I'm running into two problems with the text entry box.

1) The text doesn't wrap to the next line when the user reaches the right margin of the text entry box. It just keeps running to the right into infinity.

2)  The user can't use the enter key to add a line break, because hitting the enter key automatically triggers the submit button attached to the text entry box.

    This topic has been closed for replies.

    1 reply

    Lilybiri
    Legend
    July 26, 2013

    To have text wrapped, you need to check this option:

    To avoid that Enter triggers submitting, change or delete the Shortcut key as alternative for the Submit button. Now the user will be able to use the Enter key for a line break. Beware: only tested this on CP7, you didn't tell which version you are using.

    Participating Frequently
    July 26, 2013

    Thanks!