Request Email Permission for Two Phase Studies

Is current?: 
Yes

This entry briefly describes the files that are used for certain two phase studies, where phase one takes place on the research site, and phase two takes place via a private link that is emailed directly to participants from phase one who consented to be contact again for a follow-up study. This feature requires two tasks: a task which asks participants in phase one to consent to contacted for a follow-up study and to provide their email address, and a task in phase two which asks participants to enter the email address which was used to contact them regarding phase two. Both files are described and attached below.

Task One - Request email & permission to use it (followupconsent.jsp):

This task alerts participants to the second phase of the study and asks them to agree to be contacted about it via email. It includes a brief section of explanatory text, an “agree” checkbox, and a textbox for participants to enter their email address. This textbox checks for “valid” email addresses. That is, entering “sandwiches” will result in an error message, but “sandwiches@tasty.mmm” will not.

A bit of information about the code:

Just like other files, this file begins with general information about the file and style information that is used later in the <body> section. Lines 11-69 (the script tag) provide the function of checking for a valid email address and require participants to agree to be contacted in order to provide their email address.

To update this task for your own study: change only the text located in lines 83-85. Note that there are several details that you will need to update to make this page relevant to your study.

Task Two - request re-entry of email address (emailconfirmation.jsp)

This task belongs in the second phase of your study, which will be a “private” study to which you will invite your participants via the email address that they provided in phase one. This task asks participants to enter their email address (we ask specifically for the email address that was used to contact them about the study so that it can be used to match the data files for phases one and two. Once again, the textbox checks for “valid” email addresses. That is, entering “sandwiches” will result in an error message, but “sandwiches@tasty.mmm” will not.

 A bit of information about the code:

Once again, this file begins with general information about the file and style information that is used later in the <body> section. Lines 8-69 (the script tag) provide the function of checking for a valid email address and require participants to agree to be contacted in order to provide their email address.

To update this task for your own study: change only the test located in lines 75-77. Note that there are several details that you will need to update to make this page relevant to your study.