0 votes
in SoSci Survey (English) by s154123 (255 points)

Dear Socisurvey team,
I want to ask participants to rank three pictures and I would like to give them feedback after they rank pictures. To illustrate if they did not rank the items correctly, then a message should appear on the screen telling them to repeat the ranking. Is response check for ranking possible in Socisurvey?
Thank you very much in advance

1 Answer

+1 vote
by SoSci Survey (302k points)
selected by s154123
 
Best answer

You can simply create an individual response check for that condition (and the feedback).

To check the order (i.e. three variables), you will have to combine multiple checks, see Conditions with More Than 2 Options.

by s154123 (255 points)
Thank you very much. I could solve the problem with your informative answer.
Only one minor issue has left:
Now if the answer is wrong, I will ask them to rank the pictures again but when they return to the page, then the answer they have given before is there. Is there any way they can enter the same page without the previous response:
Here is the PHP code:
if ((value ('TR01_03')==1) and (value ('TR01_01')==2) and (value ('TR01_02')==3)) {
    html('<p>good job!</p>');
} else {
    html('<p>Please read the more carefully!</p>');
    goToPage('Training1');
}
And here is the pre-test:
https://www.soscisurvey.de/tutorial292018/?act=wymK95tbQVtIQT57560Cbvny
Thank you again and have a great day ahead.
by s154123 (255 points)
I do not know why the pre-test link does not work properly. I created another one but it does not work as I see that myself in the questionnaire.
Here is the new link:
https://www.soscisurvey.de/tutorial292018/?act=rqjdO7K6YJB7Ts5b0iuOsmhZ
by SoSci Survey (302k points)
Please do not use goToPage() but repeatPage() for your case.

Regarding the removal of answers, you can use dropValue():
https://www.soscisurvey.de/help/doku.php/de:create:functions:dropvalue
by s154123 (255 points)
Thank you.
It works perfectly fine :))))
by s154123 (255 points)
And one last question:
I would like a page to be repeated 3 times if the respondent's answer is wrong. I wrote it like that but the loop is not working.
if ((value ('TR01_03')==1) and (value ('TR01_01')==2) and (value ('TR01_02')==3)) {
    html('<p> Gut gemacht!!</p>');
} else {
    html('<p>•    Bitte lesen Sie jeden Lebenslauf sorgfältig und versuchen Sie diese objektiv anzuordnen.</p>');
    dropValue('TR01_03');
    dropValue('TR01_01');
    dropValue('TR01_02');
    repeatPage();
    $i = loopPage('Training1',2);
    html('<p> ridi!!</p>');
}
by SoSci Survey (302k points)
When the loop is enabled in the first run, it will loop three times, no matter if the loopPage() is repeated or not. So you'll have to put the loopPage() outside of your IF structure, and use goToPage('next') within the IF if you want to skip the loop.

Unfortunately, repeatPage() sometimes has nasty side effects if used within a loop in which pages are skipped. The repeatPage() may jump to a different page than expected.

Should you encounter a misbehavior, use this robust solution: Copy the page three times and either repeat the question or skip the page via goToPage('next'). You can place the "gut gemacht" on the last of the three pages, so it's displayed only once.

Willkommen im Online-Support von SoSci Survey.

Hier bekommen Sie schnelle und fundierte Antworten von anderen Projektleitern und direkt von SoSci Survey.

→ Eine Frage stellen


Welcome to the SoSci Survey online support.

Simply ask a question to quickly get answers from other professionals, and directly from SoSci Survey.

→ Ask a Question

...