Hi all,
I have a problem in writing an enabling condition. The situation is follows.
I have a household roster section (member_roster
). In this roster I ask information on the mother identity with the question “Who is the mother of %member_roster
%?”(q1
) enabled only if age<=2 years old. The possible options of this single select question are all the women older than 15 years in the listed in the household.
In another section of the survey I need to create another member roster on children nutrition (mother_roster
) which is enabled only for female members aged older than 15 and that have been selected at least once as answer in q1
. I need to ask to each of the female members selected in q1
, the question “What are the benefits for a baby if he/she receives only breastmilk during the first six months of life?” (q2
). In other words, I get a list of mothers from all the answers given in q1
. I then need to ask only to these mothers a question, and if one mother has two children, i just need to ask once.
I don’t know how to enable the mother_roster
only for all the mothers selected in q1
.
I tried to impose the enabling condition on the mother_roster
as
member_roster[q1[0]].@rowcode==@rowcode
and something similar, but it doesn’t work.
Hope somebody can help!
Thanks all