OS (e.g. Win10): Win11 PsychoPy version (e.g. 1.84.x): 2024.2.4 Standard Standalone? (y/n) yes What are you trying to achieve?: Participants replicate a letter sequence into a textbox and get feedback whether the input was correct or false. Wrong input always gets categorized correctly as false, but I noticed in trial that correct input often gets categorized as false. This seems to be completely random.
What did you try to make it work?:
Since I have no idea what the problem might be, I only tried to add code to ignore upper/lowercase letters but that didn´t do anything. But the code might have been wrong, I changed this line if inputText.text == sequence: to if inputText.text, lower == sequence.lower:
I also don´t think this is the cause of the problem, since my original sequences are written in uppercase and I do the input the same way.
I am sorry, but if input.text throws an error, how can print(input.text) work? What do you get when you insert the following print command': print(input.text == sequence)`. It should print True if both strings match and False if they do not.