Survey logic in a Ranking question
Provide a personalized survey experience by directing your respondents to different follow-up questions
Agnieszka avatar
Written by Agnieszka
Updated over a week ago

Survey logic makes creating various paths for respondents easy by skipping specific questions based on previous responses.

You can design the survey experience by adding a customized question flow and segmenting users based on their feedback.

In this article, you'll learn how to set up Survey logic in a ranking question. If you want to set it up for different question types, visit one of the links below:

💡This feature is available for Email or Shareable link and Website or in-product surveys and is included in all of our plans!

If you want to learn how logic works for Intercom Messenger and Mobile app surveys, check the dedicated guide.

How to add logic

1. Once you've started creating your survey and added a ranking question, as well as the other survey questions, head over to the Logic tab of the question and click on + Add new logic.

2. Here, you'll see the If condition, letting you decide when to apply logic.

You can choose to apply logic if one of the answer choices or All answer choices is ranked as, is not ranked as, is ranked between, or has any value.

💡 You can select multiple answers in this field and choose what operator you would like to have among them - and/or. Just click it to change it to the or operator.

Please note that if you select “All answer choices” in this field, your only option in the second field will be has any value.

💡Let's take a look at what the above possibilities mean:

is ranked as - if you select just one possible answer here (eg. Responsive support is ranked as 1st), this logic will work only when Responsive support is ranked as 1st.
If you select Responsive support or Modern design is ranked as 1st or 2nd, this logic will work when either Responsive support or Modern design is ranked as 1st or 2nd.
If you select Responsive support and Modern design is ranked as 1st or 2nd, this logic will work when:

  • Responsive support is ranked as 1st and Modern design is ranked as 2nd

Or

  • Responsive support is ranked as 2nd and Modern design is ranked as 1st

is not ranked as - if you select just one possible answer here (eg. Responsive support is not ranked as 1st), this logic will work only when Responsive support is ranked as anything other than 1st.
If you select Responsive support or Modern design is not ranked as 1st or 2nd, this logic will work when either Responsive support or Modern design is ranked as anything other than 1st and 2nd.
If you select Responsive support and Modern design is not ranked as 1st or 2nd, this logic will work when both of them are ranked lower than the 1st and 2nd place.

is ranked between - if you select just one possible answer here (eg. Responsive support is ranked between 1st and 3rd), this logic will work only when Responsive support is ranked as either 1st, 2nd, or 3rd.
If you select Responsive support or Modern design is ranked between 1st and 3rd, this logic will work when at least one of Responsive support or Modern design is ranked as either 1st, 2nd, or 3rd.
If you select Responsive support and Modern design is ranked between 1st and 3rd, this logic will work when both Responsive support and Modern design are ranked between 1st and 3rd places.

has any value - this logic will work regardless of what answer the respondent chooses.

3. For this example, let's choose if Responsive support and Modern design is ranked as 1st or 2nd.

❗️If you have more than one value selected in the first field and they are separated with the “and” operator, you should have at least the same number of values selected in the third field in order not to have any logic errors.

After setting one conditional group, you can click the sign to add another one. All conditional groups are joined together with the and operator by default. You can click it and change it to or. However, please note that you can have only one type of logical operator among all the conditional groups - either and or or.

📌 Any answer option not selected in the If condition will direct the respondents to the next question.

4. Now, you can decide what question the respondent should see next.

In the then option, choose the next step, whether it's another question or the end of the survey.

In our example, because we have the and operator between “Responsive support” and “Modern design”, these logic settings should work for one of two cases:

  • “Responsive support” is ranked 1st and “Modern design” is ranked 2nd

  • “Responsive support” is ranked 2nd and “Modern design” is ranked 1st

If you changed and in the first field to or ("Responsive support" or "Modern design"), then it will work for the cases when “Responsive support” is ranked 1st or 2nd or “Modern design” is ranked 1st or 2nd.

It's not possible to use Survey logic to direct the respondent to a previous question. To select the next step in the survey's path, it needs to be placed after the question in which you're currently setting up logic.

5. You successfully added a new logic to your survey 🚀.

If you'd like to add another one to the same question, click on + Add new logic again and repeat the above steps.

If you changed your mind and would rather delete the logic, simply click on the button.

Please note that if there is a conflict in your multiple logic settings, the survey behavior will be determined by the first true logic condition.

❗️Also, if you delete a question that is used in any logic settings in a survey, all the settings where it was used will be removed because they become invalid.

The same applies to the situation when you move a question above some other questions that have it in their logic settings - the logic becomes invalid and that's why we remove all logic settings that included the re-ordered question.

Best practices

Set up survey logic separately for each question in your survey

Without survey logic, the questions will be shown one after the other.

You can test the logic flow on the right side of the Create tab in the preview.

Wondering how the results to your single-choice questions will be displayed?

Check out this article to learn how we count ranking question responses.

Include respondent attributes in the survey questions for a better survey experience

Find out here how to make your surveys more respondent-friendly by customizing them with personal information.

📞 If you have any questions or need help setting question logic, please contact our team at support@survicate.com or initiate a chat conversation.

Did this answer your question?