Matrix: 2 out of 4 rows mandatory

Suppose you want to present each survey participant with some products, services or data, some of which should be answered and some not. For example, a participant must, from a list of four cities, indicate for the cities of Berlin and Paris how often he/she has visited those cities. For the other cities from this list, London and Amsterdam, this requirement does not apply.

For this, you can include a matrix with 4 rows (listing the four cities) and, for example, 4 columns labelled Never (value 1), Once (value 2), Two to five times (value 3), More than 5 times (value 4) in your survey.

Note: The Force response setting must not be ticked; hence it is a non-mandatory question.

A validation element can be inserted into the survey immediately after the matrix question to ensure that a participant selects a frequency category, e.g. Never, for the first two rows (cities).

For this element, you can specify an error message, e.g. For the cities of Berlin and Paris, you are required to indicate a choice. For London and Amsterdam, this is not necessary. After this, you can specify the condition(s) under which this error message is displayed to a survey participant. After you have clicked the Edit conditions button, the Filter window appears allowing you to configure the following data, for example:

  • Hide this validation message
  • if – Question – q1 How often did you visit the following cities? – Row 1: Berlin | Number of selected options within the row – >= 1
    and – Question – q1 How often did you visit the following cities? – Row 2: Paris | Number of selected options within the row – >= 1

A participant can only proceed with the survey, if he/she has selected a frequency category (column value) for the first two rows from the matrix question.

Updated on July 24, 2023

Was this article helpful?

Related Articles

Need Support?
Please login to your Survalyzer account and use the "Create Support Request" form.
Login to Survalyzer