Sign up, it's free!

How to protect your survey with a password, passcode, or secret word

Learn how to protect your survey with a password, passcode, or secret word. Password protected surveys are essential for confidential research projects.

hen you make a survey with our tool, you’ll get a link which can be shared with anyone, posted on social media, or be forwarded via email to others. People might accidentally find the link to your survey, or search engines may lead them to it. But sometimes you may need to restrict the access to your survey, keep it private, and share it only with a selection of people. For example, you may be working on a secret project, designing and developing a new product or service. You still need feedback from your team or stakeholders, but you do not want others to access your survey. In this case, you can easily assign a password to it using our survey logics, so that only those who are aware of this password can access it.

Here is how you do it:

1- Adding the password question

When you’re done with creating and organizing your survey, go ahead and add a Text box question right at the beginning of the survey. This question can be something like:
  • “Please enter the password, to access this survey.”
  • “What is the secret code that you have received from us?”’
  • “What is your employee ID?”

2- Make this question compulsory

To make sure people cannot pass this question without answering it, make it compulsory by activating the Answer is required setting.

3- Adding a page break

Now drag and drop a page break, under this password question that you just added. This helps you to divide the survey into different parts; and the first part they will see is this page, with the password question.

3- Activate the logic step

Now while you’re on the “Create”, activate the “Logic” step, using the toggle button at the bottom-left corner. When activated, go to the logic step, using the navigation buttons located at the top bar.

4- Create a logic flow

Here you can make your survey more intelligent and ask it to show rest of the survey, only if respondents type the correct answer for your first question (the password).
The logic we are trying to create is something like this:

IF answer to the password question is correct, show the next page.

To do so, follow these steps:

A: So, click on the password question, to create a new logic flow.

B: Now, when you’re in the logic flow creation mode, choose the choice “Contains”.

C: Then in the text box below, type the word that you want to use as the passcode. Note that you can add several words if you want. Every time you type something and press the “enter” or “return” button on your keyboard, you add one new item.

D: Now scroll down to the “THEN” section of your logic flow, and add a consequence for this rule that you just made. You can do that by choosing “Show” from the first dropdown, and then from the second one, choose “Page”; and then choose page number 2 from the list below.

Logic Flow #1
survey logic, if answer to the following questionanswer to the following question
*Please type the passcode that you received from us via email.
logic rule icon for text based questions (when text starts with)contains
Type one or more words…
Page #2
end of logic flow
Note that the passwords that you create with this technique are not case sensitive! Also, they are visible when users are typing them.

5- Don’t forget to send your custom passcode to your respondents

Whn you make a survey with our tool, you’ll get a link to the survey. Make sure to send the password together with the survey link, when sharing it with your trusted respondents.

Here is a live example of a survey with password protection

The passcode for this demo survey is 1234. As you can see below, we have even used one more logic flow to display instant feedback to respondents who type the password wrong, or correctly. This makes your survey more human friendly and people can understand if they are typing the password correctly or not.

So first, try to write a wrong password, and then try it by writing the correct password.

How did we make these flows?

It was simple. Just checkout the images below and you’ll be able to remake them on youor own! 😉

This is the logic flow that you must make for respondents who type the right password, for your password protected survey.

Kiarokh Moattar

Co-Founder, UX/UI Designer at SurveyLegend
I eventually grew up after painting on many walls, getting too many scars, watching loads of animated movies, taking care of lots of injured animals, and inventing crazy strategies to bypass the "dictatorship" of the adults, and got a B.A. in Psychology. Shortly after, I grew up a bit more and got two M.A. degrees in art & design.

Today, after growing up slightly more, I realize that I've been working with many companies and brilliant people, inventing new tech solutions, designing & coding cool stuff, making cute illustrations; while still truly enjoying, loving, and adoring the mother nature and all amazing cuddly creatures out there.

Leave a Reply