Skip to main content
All CollectionsForms, Surveys & ElectionsSurvey Logics
How to hide a survey page depending on the answer of a previous question
How to hide a survey page depending on the answer of a previous question
C
Written by CG Vendors
Updated over a week ago

Using survey logic allows you to hide or show survey pages depending on the previous answers.

   1. Create your survey
   2. Create the question for which the answer will determine whether to hide or show    the next question
   3. Click Save Changes

   4. Create the page you would like to be hidden or shown

   5. Click Save Changes

For this tutorial, we are going to show the second page only if the answer of the first question is Yes

There are 2 ways of doing that:

Always hide the 2nd page unless the answer to the first is Yes
6a) Click on the Eye icon on the right of the SECOND question to hide it.

6b) Click on the Logic icon of the FIRST question

The Survey Logic window will open

6c) Click on Create Logic to the right

6d) Configure the Survey Logic 

   ● Set the Logic Type to Question
   ●
Select the Question from the dropdown
​   Set the Condition to Is
   ●
Set the Value to Yes
   ●
Set the Do dropdown to be Show
   ●
Select the page to show in the Do dropdown to be Show
   ●
Set the Activate Logic to Yes

Note: You can apply this logic on more than one page by checking other pages in the The Following Page(s)  list.

6e) Click Save  

The second way to accomplish this is to hide the second page if the answer to the first question is No

7a) Click on the Logic icon of the FIRST question

The Survey Logic window will open.

 7b) Click on Create Logic to the right

7c) Configure the Survey Logic 

   ● Set the Logic Type to Question
   ●
Select the Question from the dropdown
​   Set the Condition to Is
   ●
Set the Value to No
   ●
Set the Do dropdown to be Hide
   ●
Select the page to hide in the Do dropdown to be Show
   ●
Set the Activate Logic to Yes

Note: You can apply this logic on more that one page by checking other questions in the The Following Page(s)  list.

7d) Click Save 

IMPORTANT: Although the second method seems simpler, it should only be used if there is only one answer that will be showing/hiding the page.

For example, if you had a first question where the answers were:
   ● Yes
   ● No
   ● Not at all
   ● Absolutely not

If you wanted to only show the second page, by using the first method you would only need to apply one survey logic on the "Yes" answer, whereas with the second method, you  would need to hide the second answer with every negative answer, (which means doing three survey logic rules here).

Please contact support@campusgroups.com with any questions.

Did this answer your question?