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 Text answer 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.

1. Once you've started creating your survey and added a text answer 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 the answer contains, answer doesn't contain, answer has any value, question is answered, or when question is not answered.

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

answer contains - this logic will work for all the respondents whose answers will include the word you selected here. You can add multiple words and phrases here. Please note that this condition works on the exact match basis. It means that if a respondent makes a typo or an error in the word you have specified, the logic will not work for them. However, it’s not case-sensitive (will work regardless of upper-case or lower-case).

answer doesn't contain - this logic will work for all the respondents whose answers will not include the word you selected here. You can add multiple words and phrases here. Please note that this condition works on the exact match basis. It means that if a respondent makes a typo or an error in the word you have specified, the logic will not work for them. However, it’s not case-sensitive (will work regardless of upper-case or lower-case).

answer has any value - this logic will work regardless of what answer the respondent provides (if you set this question as non-mandatory, this logic will work even if a respondent skips the question without providing any answer).

question is answered - this logic will work for all the respondents who have answered this question.

question is not answered - this logic will work for all the respondents who haven’t answered this question (in case this question is not mandatory).

3. For this example, let's choose answer contains.

Type the words you'd like to see in the open-text response and decide between the and/or operator.

What you'll see as the next step is the possibility of selecting one or several answers.

📌 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.

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.

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?