Ans for Multiple Response Question to be linked with following question

Hi, can you please suggest how can the following be done?

Q1: Please confirm who all constitute your family? (multiple response questions)
Choices/Options: Self, Spouse, Son 1 (Elder son, if any), Son 2 (2nd son, if any), Daughter 1 (Elder daughter, if any), Daughter 2 (2nd daughter, if any), Father, Mother, Brother1, Brother2, Sister1, Sister2, other.

Q2: Who is the ‘Chief Wage Earner’? (Single response question)
Choices/Options: Option Selected in Q1

I want to link Q2 Choices/Options with Q1.

See this example (also pasted below): filter-example.xlsx (9.6 KB)

survey sheet:

+--------------------------------+-------------------+------------------------------------------------+-----------------------------+----------+
|              type              |       name        |                     label                      |        choice_filter        | required |
+--------------------------------+-------------------+------------------------------------------------+-----------------------------+----------+
| select_multiple family-members | members           | Please select all that constitute your family: |                             | yes      |
| select_one family-members      | chief-wage-earner | Please select the ‘Chief Wage Earner’?         | selected(${members},filter) | yes      |
+--------------------------------+-------------------+------------------------------------------------+-----------------------------+----------+

choices sheet:

+----------------+------+----------+--------+
|   list_name    | name |  label   | filter |
+----------------+------+----------+--------+
| family-members |    1 | member 1 |      1 |
| family-members |    2 | member 2 |      2 |
| family-members |    3 | member 3 |      3 |
| family-members |    4 | member 4 |      4 |
| family-members |    5 | member 5 |      5 |
+----------------+------+----------+--------+

4 Likes

Thank you, Joseph.

I was not aware of this filter feature.

You can even use the name column directly to build your filter as in selected(${members}, name)! Think of that condition as saying "only show family-members with a name that was selected in the members question."

1 Like