TextInput element

TextInput elements let you to add one- (by default) or multiple-line input boxes to the screen.


newTextInput("myTextInput", "some default text")


[js try=”true”]newTextInput(“feedback”, “Leave your feedback comments here.”)
.settings.size(400, 200)
newButton(“send”, “Send”)

Adds a 400x200px multiple-line input box containg the text Leave your feedback comments here to the screen above a Send button and waits for a click on the button. The text in the box at the end of the trial will be saved in the results file.


[yadawiki-list category=”NonTest command,TextInput element”]


[yadawiki-list category=”Test command,TextInput element”]