[Java] A Feedback Loop Error for an Open-Ended Question
in OpenSesame
Hello,
I have four questions to receive open-ended feedback from participants. But the problem is, this code sometimes works but sometimes fails, and I do not understand the reason why.
This experiment will be run online, so I need to make sure that it does not break down on the web. Could you help me with the bug? Thank you so much.
Here is the link to the file.
https://www.dropbox.com/s/86x56j7rqiiyss4/feedback_loop.osexp.zip?dl=0
Comments
Hi Soan,
Could you provide more info on the failure? How does it fail. Is there an error message? Do you type specific things that let it fail? Have you found any consistency when trying to reproduce the error? All these information will help narrowing down the problem and eventually fixing it.
Eduard
Thank you. It often does not break the feedback loop but stays in the first question even though I press enter. I don't see any error message because it never ends and stays there.
How do you run it? In the browser or locally? Either way, it crashes for me right away (variable
repeat_variable_1does not exist.).However, if you want open-ended responses why don't you just use the text input form? See attached example.
Dear Edward,
Sorry, as I was making a shorter version to upload here, I omitted one Javascript code, but even with the omitted code, my OpenSesame file had not worked well.
It works nicely with form_text_input as you suggested. Thank you so much. I've just sent a coffee to you. Thank you!
Glad to have helped!
Thanks,
Eduard