0 votes
ago in SoSci Survey (English) by s143071 (145 points)

What is your goal?

I set reminder mails to be sent 1 week after first submission via mail opt-in if interview is incomplete or not started. My problem is I don't want to send reminders if 1 week from first submission is after the administration period, there's no point to send mail with link when it's not valid anymore.
I'm aware there's workaround, for example to limit access to the questionnaire with opt-in question like it's shown in manual. Or, like I did it before mailSchedule() where I set limit date and then check if 1 week from now is greater then date limit. It's OK solution, but only problem is that I have to do same thing twice :). I have to set Administration period date in project settings and than again in mailing questionnaire. And I like to have as little to think about what I must do to setup and release survey.

What function or feature would help you with that goal? What would make things easier for you?

I presume that it's not possible to get administration period from project via some PHP function. I presume it's in another restricted database. But It would be very very lovely, nevertheless I managed to do all kind of workarounds in my projects so all in all I'm satisfied, just had to ask and share.
Best regards and big thank you for yours amazing app!

ago by SoSci Survey (364k points)
You're welcome, sounds like a good idea. I'll see to add his to the info() function (https://www.soscisurvey.de/help/doku.php/en:create:functions:info) these days.
ago by s143071 (145 points)
edited ago by s143071
Oh, thank you very much. I see that info() function needs string parameter and returns mixed data. Would you be so kind if you implement this idea to tell me what parameters should i put for dates for administration period. I presume that help docs won't be updated soon. Thanks again
ago by SoSci Survey (364k points)
I will write an answer and update the docs as soon as I have added the feature to the info() function. Give me a day or two, please :)

1 Answer

0 votes
ago by SoSci Survey (364k points)

Okay, now the function info() will tell you the survey administration period.

info('project.end');

The update is available on www.soscisurvey.de an will be released for other servers, soon.

ago by s143071 (145 points)
Thank you dear sir or madam. I'm in your debt!

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

...