Extraction logic

Extraction logic allows you to display the selected options of a multi-select question as answer options of the next question.

For example, consider there is a question in your survey asking the respondents about their favorite smartphone brand with answer options - Samsung, OnePlus and iPhone. If the respondent selects any of the answer options then, an interlinked question should appear asking the reason for selecting the particular answer option.

How do I set up extraction logic?

To set up extraction:

  • Go to: Login » Surveys (click on a survey) » Edit.
  • Add all the required questions to your survey.
  • Hover over the question on which you wish to apply logic and click on logic.
  • Survey Software Help Image
  • Click on extraction tab.
  • For a select many question, select the extraction type:
    • Simple extraction: Target question will display selected options.
    • Reverse extraction: Target question will display options that were not selected.
  • Select the question type from extract to question type drop-down.
  • Survey Software Help Image
  • Click on save question logic.

The extracted question will appear below the source question. You can change the question text as per your need.

Survey Software Help Image

How does extraction logic work while taking the survey?

Survey Software Help Image
In the above image, when the respondent selects Samsung as his/her favorite smartphone brand a new question asking "why do you like Samsung?" with an open-ended single line text box appear on the next page. The respondent can enter text to specify the reason for choosing the answer option.
Survey Software Help Image

Similarly, this will work for other answer options too.

Can I re-order the extracted question?

Yes. It is possible to re-order the extracted question to anywhere in the survey after the source question (the question from which you extract). However, once you re-order the extracted question you will need to set up branching logic on the source question to go to the appropriate question. Please see the branching help link under you may also be interested in section below.

Can I extract answer options from a matrix question?

Yes, matrix extraction is also available. You would have to select the options that you want to include in the extraction

Note: Extraction Logic is not supported on QuestionPro or SurveyPocket Offline App.

This feature is available with the following licenses:

Corporate, Team and Enterprise

Was this article helpful?
Sorry about that
How can we improve it?