/
Create a Re-Enter Email Address for REDCap Survey

Create a Re-Enter Email Address for REDCap Survey

Purpose: Provide step-by-step instructions for creating a re-enter email address that must be equal to the first email field in order for the survey respondent to submit or move forward with the survey.


Demonstration Video


Step-by-step instructions

  1. Create a text field with email validation

  2. Copy the field and add Re-enter email to the Field Label

  3. Create a checkbox field

    1. Field Label: a message telling the user they cannot move forward unless the email fields match

    2. Choice: enter 1,

    3. Field Annotations / Action Tags: @HIDECHOICE = '1'

    4. Required: Yes

      1. Hiding the only choice on a required checkbox field will cause an error message to appear if the survey respondent hits “Submit” or “Next Page” when this field is present due to the branching logic below

  4. Add branching logic to the checkbox field so that it appears when the email fields are not equal to each other

    1. Most simple version: [email] <> [email_2]

      1. Logic in plain language: Checkbox field appears when the email address in the field email does is not exactly equal to the email address in the field email_2

    2. Checkbox field appears when both fields are blank: ([email] <> ““ and [email_2] <> ““) or ([email] <> [email_2])

      1. Logic in plain language: Checkbox field appears when both email fields are blank (so it will be present when arriving on the survey page), AND when the email fields are not equal to each other. The message will persist until both fields are not blank and both fields are equal.

image-20250227-173309.png

 

Submit a REDCap Ticket if you have questions

 

Related content

Check for Specific Email Domain on REDCap Survey
Check for Specific Email Domain on REDCap Survey
More like this
REDCap - Designate an email field for communication
REDCap - Designate an email field for communication
More like this
Add no-reply@wustl.edu as a secondary email and always add the external user’s institutional email as a cc or bcc
Add no-reply@wustl.edu as a secondary email and always add the external user’s institutional email as a cc or bcc
More like this
Create REDCap e-Consent Project
Create REDCap e-Consent Project
More like this
20240717 - Sending Survey Invitations via email from Guest WashU REDCap Accounts
20240717 - Sending Survey Invitations via email from Guest WashU REDCap Accounts
More like this
WashU REDCap e-Consent Standard Operating Procedures
WashU REDCap e-Consent Standard Operating Procedures
More like this