Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision |
en:create:functions:mailresume [29.08.2020 11:33] – sophia.schauer | en:create:functions:mailresume [21.04.2024 20:27] (current) – [Pause Questionnaire] admin |
---|
| |
In the following example, the participant was invited to the questionnaire via a mailing. A page where the questionnaire is paused is placed in the middle of the questionnaire (''[[:en:create:functions:buttonhide|buttonHide()]]'') and the text "end1" is displayed. The participant receives an email after 24 hours stating he may now fill out the second part of the questionnaire. The link in the email leads him to the next page in the previously interrupted questionnaire. | In the following example, the participant was invited to the questionnaire via a mailing. A page where the questionnaire is paused is placed in the middle of the questionnaire (''[[:en:create:functions:buttonhide|buttonHide()]]'') and the text "end1" is displayed. The participant receives an email after 24 hours stating he may now fill out the second part of the questionnaire. The link in the email leads him to the next page in the previously interrupted questionnaire. |
| |
| **Important:** The ''caseTime()'' function only works if you have not unchecked "Record time and dwell time during the survey" in the **Project settings** in the //Privacy// tab. The dwell time is required information for the interrupt pages suggested here. |
| |
<code php> | <code php> |
===== Serial Mail After Opt-In Question ===== | ===== Serial Mail After Opt-In Question ===== |
| |
With a question of type [[:en:create:questions:opt-in]] you can ask for e-mail addresses in the questionnaire and enter them directly into the address list (**Send invitations** -> **Address list**), so that you can send serial mails to the e-mail addresses later. | With a question of type [[:en:create:questions:opt-in]] you can ask for e-mail addresses in the questionnaire and enter them directly into the address list (**List of Contacts**), so that you can send serial mails to the e-mail addresses later. |
| |
This section explains how to use ''[[:en:create:functions:mailschedule]]'' to automatically trigger the scheduled or immediate sending of a serial mail to the entered e-mail address. | This section explains how to use ''[[:en:create:functions:mailschedule]]'' to automatically trigger the scheduled or immediate sending of a serial mail to the entered e-mail address. |
</code> | </code> |
| |
Note that the personal ID (SERIAL) here is cached in a PHP variable (''$serial'') to be used directly in the ''mailSchedule()'' calls. Of course you could also use ''value('OI01')'' here | Note that the personal ID (SERIAL) here is cached in a PHP variable (''$serial'') to be used directly in the ''mailSchedule()'' calls. Of course you could also use ''value('OI01')'' here. |