Back in Chapter 5, Developing Interactivity, you added a Text Entry Box on slide 3 of this project. In this section, you will assign your new User Variable to this object. Whatever the student types in the Text Entry Box becomes the value of your v_name custom variable. Follow these steps to get started:
- Use the Filmstrip to go to slide 3 of the takeTheTrain.cptx project.
- Select the Text Entry Box on the right-hand side of the slide.
- If needed, click the Properties icon on the Toolbar to open the Properties inspector.
- In the Style tab of the Properties inspector, make sure that the Validate User Input checkbox is not selected.
Remember that a Text Entry Box can be used for two very different purposes. You can use it in a Quiz and ask your students to type something specific. In this case, you have correct and incorrect answers, and the value typed into the Text Entry Box must be validated.
However, in this example, you want to use a Text Entry...