Hi Family,
I want to apply skip patterns in the multiple choice questions such that row9 only appears if option1, 2 or 4.is chosen alone or either with another options. I use relevant code selected(${q1_nonfarm}, ‘1’) or selected(${q1_nonfarm}, ‘2’) or selected(${q1_nonfarm}, ‘4’)
and not still working.
I attached the xls form for your assistant Aurgent.xlsx (11.4 KB)
Hi @Sham_me.
First create a calculated field to separate options 3, 5, 6 and 7. Then just use “and” to join with options 1, 2 and 4 in the q1a field.
Best Regards. Aurgent_v2.xlsx (12.4 KB)
Hi Sanabria and Team I am most grateful for your time.
I tried that and still it does not work.
Example; What I mean is that if you choose theses options;
Sale of seeds and planting materials
Sale of other non-durable inputs such as fertilizer and pesticides and Sale of processed 3. products/value-added products (post-harvest)
They should be ask for Volume and value sale.
On the other hand, any option that is selected apart from option 1,2 and 4, Questions on Volume should not popo-up. The problem now if your response in the multiple choice contains at least one of the 2 categories say (1,2,5,7), the volume do not appear witouht any reason.
See picture below;
Hi Sanabria,
Thank you so much for your guide!
How ever, I still not working well.
What I mean is if the multiple response include 3,5,6,7 and 8 is chosen, then we should not ask about the volume. But I still see the question asking about the volume…
There is no option 8 in your xlsForm, but it can be included in line 9 of the “v3” file:
if(selected(${q1_nonfarm},‘3’) or selected(${q1_nonfarm},‘5’) or selected(${q1_nonfarm},‘6’) or selected(${q1_nonfarm},‘7’) or selected(${q1_nonfarm},‘8’),‘1’,‘2’)