Form after OSWeb on JATOS
We have working in an OSWeb experiment and we want to present a form with some questions after the OSWeb experiment. We prepared the form using Surveyjs, and test it over JATOS and the form runs well. And when we put the form as a first component followed by the OSWeb experimento, the form is showed and once the button send is clicked appears the OSWeb blue srceen and after the click the experiment starts. But when we change the order of the components, putting the form after the OSWeb component, the form will never appear, after finished the OSWeb experiment the system returns to the JATOS menu, as if the second component (the form) does not exits.
Is there some way in which we can indicate to OSweb to start the next component? We have already test putting the command jatos.startNextComponent() on the the jatos.js script but it does not work.
I really appreciate your help.
Comments
Hi,
Can you give us a little bit more details? Where exactly did you add the command
jatos.startNextComponent()?I assume you saw this other answer. Did you manage to modify a line in the HTML script itself and replace
jatos.endStudy()withjatos.startNextComponent()?Best
Elisa
Thank you, I had added the line <code>jatos.startNextComponent()</code>, after the <code>jatos.endStudy()</code>, but I did not realized that the correct way was replace it! Now it is working!
Best
Julian