Embedding a questionnaire in Opensesame OSWeb
Hi everyone.
I have created an experiment and since the OSWeb doesn't support the Opensesame forms I have some challenges to have my questionnaire at the beginning of the experiment.
I'm found a suggestion by @sebastiaan to use sketchpad+keyboard response to implement the questions.
It works for me, but it would be great if there was a way to have a full questionnaire attached to the experiment.
I found this topic, but I couldn't understand the suggestion:
I'm using JATOS and my question is:
Is there a way to design a questionnaire in another platform -like SurveyMonkey- and attached it to the OSWeb Opensesame experiment running in JATOS?
Assuming that we use the general single/multiple worker link, I need a way to have a same participant ID for the experiment and the questionnaire.
I really appreciate any suggestion/solution.
Best regards,
Kian
Comments
Hi Kian,
SurveyMonkey, as far as I know, always runs only on their web page and I can't imagine a way to combine it with OpenSesame / JATOS. But there are other libraries that offer surveys. One, I'd like to recommend, is survey.js (https://surveyjs.io/Examples/Survey-Creator). survey.js itself is for free and their 'Survey Creator' cost money - but you don't need the 'creator': you can just copy paste the JavaScript code from their web page. JATOS' example studies (http://www.jatos.org/Example-Studies.html) have one example with surveyjs ('Demographic and Survey Questions'; unfortunately uses an older version of the library). That said it's not drag and drop - there is a minimum of HTML/JavaScript involved.
Best,
Kristian
Thank you very much Kristian,
I added the JATOS example to my server and this is great.
So, I can have a survey and the Opsensesame_OSWeb experiment as two separate components of my study in JATOS and run them together. Great!
I still need to understand how I can add the survey as a new component to the study that I already have (right now I have two separate studies, one with the OSWeb and one with the survey example), but I guess that needs more reading on JavaScript and how to import/make a study from scratch in JATOS.
Thanks again for the help.
Best,
Kian
Exactly. You could put your survey in the first component in your JATOS study and the OSWeb experiment in the second. JATOS will call them one after another (although you could also have more elaborate study flows like jumping back and forth or loops). You can just take the survey example and add an component. Then in the new component you can copy-paste your OSWeb experiment files. I admit our docs could be better, but maybe this page helps: http://www.jatos.org/Adapt-Pre-written-Code-to-run-it-in-JATOS.html.
Best,
Kristian