Display option of Q2 according to the answer of Q1

What is the problem? Please be detailed.
Example

Q1 What do you like the most?
(Single response)

options
1.Fruits
2.Vegetables

Note : If respondent select vegetable then display option of only vegetable in Q2

Q2 Which "Vegetable" do you like?
(Multiple response)

Options
1.potato
2.tomato
3.cauliflower
4.carrot

**if fruits is selected in Q1 then only option of fruit should be display **
Note : if in Q1 vegetable is selected then in Q2 vegetable should be display in question

Sanish

What ODK tool and version are you using? And on what device and operating system version?

What steps can we take to reproduce the problem?

What you have you tried to fix the problem?

Anything else we should know or have? If you have a test form or screenshots or logs, attach here.

Hello @sanish_shrestha,
Use relevant condition to skip questions . See this page for basics on how to develop a form . Hope this helps.

Thanks and Regards,
SGSC

Hello SGSC,

So we have to make different variable for Fruit and vegetible?

Sanish

Hello friends,

Do we have to make two types ?

1 types for vegetable and another for fruits?

Sanish

Use this attached XLS relevant.xlsx (9.7 KB)

You can also filter option. See this XLS.relevant_filtre.xlsx (9.6 KB)

1 Like

Hello @ARIF_AZAD_KHAN,

Can you let me know from where did you read about the choice_filter?.

Thanks and Regards,
SGSC

@SGSC see this http://xlsform.org/#cascade

Thank you ARIF_AZAD_KHAN,

It made me so helpful :slight_smile:

Using a choice filter will reduce stress.