Create a Text Entry Field
  • 11 Sep 2024
  • 2 Minutes to read
  • Contributors
  • Dark
    Light

Create a Text Entry Field

  • Dark
    Light

Article summary

Article Overview

In this article, you will learn how to create a field in which learners are expected to enter text.

Create a Text Entry Field

Full Video Tutorial

If you scroll further down, you will find this video broken up into shorter segments, each with a focus area.

Create a Text Entry Field by Creating New Text  

  1. Click the [New Text Icon]
  2. Drag open a text box
  3. Adjust the color and size of the text
  4. Check the [Is Text Input] box
  5. Enter the prompt you want the learner to see before they enter their text
  6. Rename the text element so you can find it later
  7. Update & Close

Create a Text Entry Field by Extracting Existing Text

  1. Click the [Extract Text Icon]
  2. Drag over the text you want to convert into a text entry field
  3. Once converted, use the selector tool to click on it
  4. If necessary, adjust the color and size of the text
  5. Check the [Is Text Input] box
  6. Edit the existing text if needed (what you type in the actual textbox is what the learner will see prior to clicking into the entry field)
  7. Rename the text element so you can find it later
  8. Update & Close

Incorporate Text Entry Interactions in a Lesson

  1. On the [General Tab] Use the X to delete the current 'Selected Controls'
  2. Use the dropdown to locate your text entry element in the 'Add Control' field
  3. Click the [+ Icon] to add it to the 'Selected Controls' field 
For any given step, you can add an unlimited amount of text entry controls; but only 1 button control. The order in which you add the controls in Lesson Builder does not affect the order in which the user must enter them in the Practice or Knowledge Check modes; but, it does establish the order in which they are presented during the Walkthrough mode.

Accept More than 1 Text Entry as Correct

You can accept more than one text strand into a text entry field; but you must program this in advance using regex.  When multiple entries need to be accepted as 'correct', copy and paste one of the options below and replace the words 'Option1', 'Option2', 'Option3' with the accepted entries.

  • If 2 entries need to be accepted, use:
    • /^Option1$|^Option2$/
  • If 3 entries need to be accepted, use:
    • /^Option1$|^Option2$|^Option3$/
  • If 4 entries need to be accepted, use:
    • /^Option1$|^Option2$|^Option3$|^Option4$/

You can add as many options as is necessary.  Be sure you follow the given pattern.  These are CASE SENSITIVE, so consider capitalizations.

In the [Username] field below, any of the following would be accepted as correct:
  • cat
  • dog
  • mouse
  • Mouse

Notice, only 'mouse' is accepted in lower case and upper case 'Mouse'



Was this article helpful?

ESC

Eddy AI, facilitating knowledge discovery through conversational intelligence