| Back to Class 5 |
| Using the EntryText Variable |
To create a text entry interaction that uses the EntryText variable, first drag an interaction icon to the flowline.
Double-click the icon to open it.
Drag a display icon to the right of the interaction icon.
Click the Response tab at the bottom, and select Exit Interaction from
the Branch menu.
Name the display icon: * Restart the piece and pause it to align the text entry field in the proper position.
Now you will create the text that a user sees after typing their name. Type: Welcome,
Now you will embed the EntryText variable in the text.
The variable window will be displayed.
Choose the Interaction category
Select the EntryText variable and click paste.
This is how the text will look in the display icon.
Restart the piece and type your name.
Press enter and the welcome text should show the name you typed.
|