Forum Discussion
MarinRomic
3 years agoCommunity Member
Resetting the text entry field
Hi Heroes.
I would appreciate your help. I'm building a software sim in which a user has to follow a process where they need to click or enter text to go to the next slide and finish the specific ...
JudyNollet
3 years agoSuper Hero
A text-entry field is automatically associated with a text variable.
- By default, the variable for the first text-entry field is called "TextEntry." Subsequent fields get variables with that name followed by a number (e.g., "TextEntry1"). However, you can rename those variables so they're more meaningful.
In addition to adjusting the variable via entering something else in the text-entry field, you can adjust the variable with a trigger.
For example, in your situation, you could have a trigger associated with your "Try Again" button that adjusts the value of the variable so it's blank. Just be sure that trigger comes before the trigger that jumps to another slide, because a trigger can't run if the program has already left the slide.