PennController for IBEX › Forums › Troubleshooting › Reply To: Troubleshooting
November 10, 2021 at 3:42 pm
#7491
Jeremy
Keymaster
Hi,
Your Sequence
references the labels “test1” and “test2” when it should reference the labels “practice1” and “practice2”:
Sequence( "intro", "instructions", "test1", "test2", randomize("experiment"), randomize("part2"), randomize("part3"), SendResults() , "bye" );
You remove
your Text element immediately after you print
it (only print
ing a TextInput element in the meantime):
newText("Answer", "How far is this word from English?")
.center()
.print()
,
newTextInput("TextInput2")
.center()
.print()
,
getText("Answer")
.remove()
In the lines that come just after, you create a new TextInput element that you named “TextInput2”, just like the one you create before, so PennController won’t know which one you mean when you use getTextInput("TextInput2")
later on:
getTextInput("TextInput2")
.remove()
,
newTextInput("TextInput2")
Jeremy