| Reference | Downloads | Github

Using TextBox component, how to output user input?

I can’t find a solution to this one, yet it seems extremely simple.

Using the TextBox component (Routine1) I ask the user to write something. Then, (Routine2) I simply want to display what the user wrote on screen. However, I can’t find where or how to access what the user inputted in the TextBox.

Please help.

EDIT: Using the version v2021.1.4

The text of a textbox can be accessed by myTextbox.text (where myTextbox is whatever you called your textbox), but keep in mind that at the beginning of its routine the text will be reset to its starting value, so you may want to make a :variable: Variable component whose End Routine value is myTextbox.text and refer to that variable instead.

Thank you so much!