How do I restrict access to a survey based on someone's birthdate?

tnrose87tnrose87 Columbia, SCCommunity Member Qubie ✭
edited October 9 in Custom Code

How do I restrict access to a survey based on someone's birthdate?

I am responsible for a survey of youth who are age 17. The survey must be taken up to 45 days after the youth turn 17 but not before their 17th birthday. How can I restrict the survey to at least only allow access to those who are 17 on the day they take the survey? We do collect birthdate on the survey and if someone isn't 17 yet, I want to be able to send them to a page asking them to return on or around their birthday. Any ideas?

Answers

  • Inessa_GelmanInessa_Gelman New YorkCommunity Member Qubie ✭
    edited October 9

    You can have the birthday question in first block and rest of your questions in another. Introduce a branch logic into your survey flow. If they do not meet criteria of a birthday before a certain date, then take them to end of survey. And you can even have a custom end of survey message for them to let them know they do not qualify.

  • tnrose87tnrose87 Columbia, SCCommunity Member Qubie ✭

    @Inessa_Gelman - Thanks! Is there any way to do the branching based off the day they start the survey? For example, if a youth who turns 17 on October 18th tries to take the survey today, I need the survey to end with the custom message. Asking youth to validate their age with questions like "Are you currently 17" did not work as well as we'd hope last time.

    Thanks again!

  • Inessa_GelmanInessa_Gelman New YorkCommunity Member Qubie ✭

    I think there should be a way to figure out a difference between today's date and birthday through formulas. I haven't done that myself, but either Qualtrics support or someone in this community may be able to help with specifics.

Sign In to Comment