Choices options specify show in different/same questions

Hi Everyone,

I have a Q1 question gender (male. female), and the next question is based on the previous question select option( male or female) if a male is selected in Q1 then show the first 10 options in Q2, and if the female is selected in Q1 then following 10 options shown in Q2.

note: list options (1 to 20).

BR
Raza.

Hi @ali.raza16922597,
and welcome on the ODK community forum. When you get a chance please take some time to introduce yourself here

What you want to achieve is quite simple and need the use of choice_filter expression.

Add a criteria column (ie gender) to your choices sheet.
For the ten first options fill this column with "male" and "female" to the others option.
In your survey sheet, for your Q2 (select_one or select_mutiple) you'll need to specify a choice_filter :

gender=${Q1}

1 Like