Dear SoSciSurvey-support-team,
For our current questionnaire project, we are sending out follow-up invitations (mail 1) and reminders for the follow-up (mail 2) via SoSci Survey which works well. However, we would like to only send out reminders (mail 2), if the follow-up survey has not been fully completed. For this purpose, we use the following PHP-code:
"// filter for skipping if person does not follow-up invitation
if (value('O114') == 2) {
goToPage('Summary');
}
// filter for skipping if person did not reply
if (value('O114') == -9) {
goToPage('Summary');
}
$personID = value('O113'); // O113 = Opt-in-question
// Invitation after 7 days
mailSchedule($personID, 1, '+7 days');
// Reminder after 11 days, olny if questionnaire was not completed
mailSchedule($personID, 2, '+11 days', [
'status' => 'incomplete'
]);"
However, many people receive a reminder although they completed the follow-up. How can we fix that?
Thank you very much in andvance!
Best,
Lena and Josephine