I can get the text box to run at all on version (v2020.2.4) either from using the new feature button or by inserting written code.
I watched the utube video by Jason Ozubko, "Getting typed responses in your experiment’, to try insert a blank box for typed responses for a ‘Free Recall’ session in my experiment and inserted the respective code: It was my first time ever writing code
Begin Routine Tab
screen_text = ‘’
Each Frame Tab
elif(“space” in key_Resp.keys):
elif(“return” in key_Resp.keys):
screen_text = ".join(key_Resp.keys)
screen_text = ‘’.join(key_Resp.keys)
When I ran the experiment, I couldn’t get the experiment to advance from the second routine to the third routine. No error message or anything, just a blank screen at the end of the second trial, that I had to end the experiment to get off.
Then I watched the newer utube video "How to get typed responses in PsychoPy, 19th Oct 2020’. So I created a small experiment to trial this feature, with a conditional loop that repeated ten times (I’m aware there is a bug now). As I wanted to change the text that appeared above the typed response textbox each time (I’ve ten questions I’m looking to get typed responses for), I inserted ‘$A1’ into the ordinary textbox feature and attached an excel file in the conditional loop (to be a different question). When I ran the experiment, the ‘Default Text’ appeared on the screen, no sign of the end button either and the experiment ended.
I then went back and removed the excel file, and replaced the $A1 from the document column in the textbox feature and typed in ‘This is a test’, saved the experiment, exited out, went back in and then tried running it again. Same thing happened, grey screen, ‘Default Text’, no endbutton to click on and then the experiment ends. I noticed that althogh i sent the time duration to the text, textbox and endbutton (mouse) to infinite duration, the blue line that appears in the routing, was extremely short and not a strip like it usually is, is this something.
So there’s three problems here
- Cant get the text inserted into the textbox feature to even appear once, just 'Default Text.
2.Cant get the mouse endbutton and that text to appear on the screen either
- Cant get the text that appears to change with each repeat on a loop. ( Is there a better way than using a column of an attached excel document?).