Hello,
You could use the count-selected
https://confluence.dimagi.com/display/commcarepublic/CommCare+Functions#CommCareFunctions-count-selected
function
(with Q1 as the argument) as the count
of your repeat to repeat once for
each selected item.
Cheers,
Will
···
On Fri, Jun 16, 2017 at 5:06 AM, wrote:Hey folks
I am interested in linking a repeat group questions with the options
selected in previous checkbox questions.For example:
Q1: What water sources do you use: (a) government provided (b) handpump
© borewell (d) dug well (e) purchased water (f) othersQ2 (a) How far is the source from your place
Q2 (b) how many members go to fetch water- males and females
Q2 © water is used for what purposes- drinking, household, irrigation,
livestockNow I want to ask Q2 only for each of the options selected in Q1 only.
Currently, I ask an additional question on how many water sources do you
use to have a numeric link to repeat group question.Is there a way out?
Thanks in advance!
–
You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.