Text as a response
Hi All,
I would like to have a language production task for which i would need to display images through the sketchpad and have the participants respond with a sentence. I can insert only a keyboard or a mouse click response, and I can have the text response with the forms option. But in that case the sketchpad would no longer be visible.
Is there a way (perhaps through coding) to have a text response to the stimuli, or to still display the sketpad for the form response?
Thank you.
Comments
Hi @m.vel,
To achieve what you are describing,. you would need to embed the response part of your trial as a loop that runs a high number of times until a condition is met (for example the participant pressing ENTER), take keyboard responses and accumulate(concatenate them into a variable. You can make the text typed by participants visible on the same screen as the picture, but you should use a feedback object to present the picture instead of a sketchpad (because the feedback object can be modified on the fly while the sketchpad object is prepared before the trial begins and cannot be changed during the trial).
I described the method in previous posts that you should find useful:
Post 1: https://forum.cogsci.nl/discussion/7816/can-i-show-keyboard-response-to-the-participant#latest
Post 2 (follow up): https://forum.cogsci.nl/discussion/7909/sort-the-concatenated-response-and-compare-it-to-the-answer
Note that you'd have to adapt the code used in these examples and that the example also rearranges the responses in alphabetical order (which, in your case, you'd want to remove from the task).
These examples should help you understand how to collect several keyboard responses while a stimulus is presented.
Good luck!
Fabrice.
Hi Fabrice,
Thank you. I kind of understand the loop with the feedback sentence. So what the feedback does is update the next feedback with the response that the participant has written. Am I understanding this correctly?
Can every feedback of the same loop have the same image on it?
What I need is simple but I understand it may not be implemented in a simple way: they will see an image and need to describe it with a sentence. What is the simplest way to do this?
Marta
Hi @m.vel ,
If you are not running your experiment online you could consider using custom forms with
base_formitems:In the browser, custom HTML forms might be of help:
Cheers,
Lotje
Did you like my answer? Feel free to
