Entry field in a list of choices

I need a second help. I would like to make a list of choices. and for each answer item to check, I would like to specify a certain amount of information (quantity, area, yield etc.) that I should enter in an input field.
Example:
Do you practice perennial crops? 1. Yes 2. No
If so, what kind of culture is it?
If the user checks the first box then the input fields are displayed

  1. Cocoa
    How many kilograms you produce on average per year / ___ // ___ / Kg
    How many hectares are in production / ___ // ___ / Ha

  2. Coffee 0
    How many kilograms you produce on average per year / ___ // ___ / Kg
    How many hectares are in production / ___ // ___ / Ha

How to do it? thank you

Hi @esy_cari2020
Generally, you are able to execute yield based questions on the system without an issue. To demystify the process, you just need to employ appropriate skip logic for the subsequent questions. Ideally, your second question would be a multiple response item which we would hypothetically name it Q2

This will determine which questions would get subsequent questions.

On the subsequent questions, you would need to put them within groups and subgroups of each e.g. coffee, cocoa would be their own groups with each having the two questions as members of the group

For each group e.g coffee, you will make this appear only if the coffee was selected in the first multiple responses which we had dubbed Q2

Could you structure this and come back in case you have any challenges.

All the best.

Regards,
Stephane

Hi @esy_cari2020,

This is a demo of what @stephanealoo has outlined in the post advised above:

In the survey tab of your xlsform:

In the choices tab of your xlsfrom:

Image 102

Data entry screen as seen in Enketo: (when nothing is selected in Q1)

Data entry screen as seen in Enketo: (when one choice is selected in Q1)

Data entry screen as seen in Enketo: (when two choices are selected in Q1)

Reference xlsform:

Skipping Groups.xlsx (10.7 KB)

1 Like