OS (e.g. Win10): Windows-8.1-6.3.9600-SP0
PsychoPy version (e.g. 1.84.x): 2020.2.5
Standard Standalone? (y/n) Y
Hi There!
I am trying to create a conditional continue button that becomes clickable only after a response has been entered into a text box. I am using the framework for the continue button that can be found in the BigFiveInventory PsychoPy demo.
Thus far I have this:
Begin Routine
continueButton = visual.ButtonStim(win, labelText= “Continue”, pos=(.62, -.45))
Each Frame
continueButton.draw()
if textbox.textComplete():
continueButton.buttonEnabled = True
if continueButton.buttonSelected:
continueRoutine = False
where textbox is the label of the text box.
I really couldn’t figure out what to put in this line: textbox.textComplete(): so I made some guesses to no avail.
I would really appreciate some guidance if at all possible.
Thank you!
Yol