Hello,
I work with Laure & I looked at the script as well, this is our problem:
We have missing data on the questions that come after our anagram task (Page 16). So the problem is not that group 2 doesn't see the question (MA01) mentioned in the PHP code above.
But it's that people in condition 1 in sometimes don't see page 16.
People in condition 1 have the possibility to stop the task after 5 trials. For that I built in a "stop" button. PHP Code:
$condition = value('IV01_01');
if($condition == 1) {
text('MA02'); //Kommentar: Frage für Leute in Bedingung 1 anzeigen, diese Leute können die Aufgabe abbrechen, zusätzlich noch den Button anzeigen (in blau)
html('<div style="text-align: center; margin: 2em 0">'. buttonToPage('SP', 'Beenden'). '</div>' ); //Kommentar: SosciSurvey-Anleitung
} elseif ($condition == 2) {
setNextPage('next'); //Kommentar: Frage für Leute in Bedingung 2 anzeigen, diese Leute können nicht die Aufgabe abbrechen
}
I think the problem is, that if people click on that "stop" button, they get sent to page 17 and not 16.
Do you know how I can change that, so if they stop the trial they will continue on page 16?
Thanks!