I have created a multipart questionnaire in SoSci with three surveys:
o T0 only records the e-mail address (double opt-in)
o T1 Survey
o T2 Survey
From SONA (our university platform that distributes student credits for participation), I send the participants first to T0, from there with an confirmation mail to T1 and after 3 days via the serial mail to T2 and from there back to SONA.
My aim is for SONA to recognize at the end with a SONA ID which participants have completed all questionnaires up to T2 in order to then distribute the credits accordingly.
This is why I need to pass their ID through all three questionnaires.
Do I have to create an internal sosci-databank in which I save and retrieve the personal ID?
I tried to do so by placing
1. the command
$personID = value('EI01');
$sonaID = value('REF');
dbSet($personID, $sonaID);
at the beginning of T1 to create the internal databank with the personal SONA-ID (or should the code already be placed in the T0 questionnaire because otherwise the SONA ID with which the participants came would already be lost?)
- the command
$personID = value('EI01');
$sonaID = value('reference');
dbGet($personID, $sonaID);
placed at the beginning of T2 (as I understood the SoSci page).
'REF' ist supposed to be my SONA-ID.
However, that does not work. What could be a solution?
- In the end of the PHP redirect-command on the last page of T2 I added the slice below to redirect the personal SONA-ID code back to SONA:
redirect('...........&survey_code=%' . dbGet($sonaID) . '%');
but I think sosci cannot retrieve $sonaID.
Hope I gave enough details so that somebody has an idea how to proceeed...?
Thanks a lot in advance!
Marie