Hello everyone
I am wondering if copying and pasting are available in Psychopy. If they’re available, would somebody help me to add them in my experiment?
I added a text box, but it seems participants still can’t copy and paste their ID.
Thanks
Hello everyone
I am wondering if copying and pasting are available in Psychopy. If they’re available, would somebody help me to add them in my experiment?
I added a text box, but it seems participants still can’t copy and paste their ID.
Thanks
I’m thinking about using an embedded survey as a more functional text box for a free recall task
To use an embedded survey, I have to go to Pavlovia dashboard, and choose surveys. Right?
If yes, then I should select HTML. Am I right?
html is for presenting html.
A textbox would be “long text”
Aha
Now, the problem is I do not know how to integrate the survey with my experiment.
Could you help me with that?
I opened Psychopy, and chose responses tab, then I chose Pavlovia Survey. Is this the right path?
Here’s some information on surveys
These slides show how to embed a survey
To retrieve survey data for use in a PsychoPy experiment you need to use .getResponse()
Surveys can be selected using the Survey ID (so they always run the latest version) of Survey Model File (so they are protected from changes to the online version). The results of each survey are saved to the PsychoPy data file. However, if you want to access the data during your experiment you should use code of the form surveyResponse = surveyComponentName.getResponse()
which copies the data into a dictionary.
In this demo I check whether four consent items have been ticked using if len(surveyResponse['consent']) == 4:
and then present the second GAD-7 score on screen using surveyResponse['OHQmean']
. The order of presentation is counterbalanced using the shelf, in blocks of 20 participants.
Thanks for the file.
As the video shows, I tried Survey Model File, and synced the latest version of my experiment, but the survey did not appear at the start of the experiment.
I also added my survey’s id. Nothing happend again.
In that video you pointed at a survey json on your desktop, which isn’t accessible from the Intrernet. Put the json in the experment folder.
For survey ID check using an incognito tab (or use Ctrl-Shift-R)