I have tried to create dynamic choices for a following question which works well for the preceding being a single select question. But if I make it a multiple select question, which is close to the reality, it does not work as expected. I have attached the xls forms.
Thank you Kal,
It is the stage before specifying âothersâ that I require a solution for.
To be clearer, the information on âuse of juvenilesâ can only be provided by âHatchery operatorâ, âNGOâ, âProducer groupâ and âOthersâ so when âuse of juvenilesâ is selected, these are the choices that should appear.
When âuse of juvenilesâ and âuse of improved seedâ are both selected - being multiselect - âinput dealersâ, âhatchery operatorâ, âNGOâ, âProducer groupâ and âOthersâ should appear as choices and so on.
This recommendation gave me a head-start in resolving my constraint, but I am yet to achieve the desired solution. What complicates this is that the question type for the initiating question is a select_multiple. I have tried using count-selected() and nested if() to resolve this but I am yet to. I even tried the â&&â operator in the nested if(), but nothing. Please see my attached xlsform for clarity. Thanks.
@MohammedTaleb thank you for this great solution! I have updated this as an XLSForm so that the entire community could benefit. Thank you once again for all the support provided to the community @MohammedTaleb