I have 3 children in the roster and two of them were <=10 age(i.e one child=7 & second child=2).
What I want is I want to fetch from the above roster--- child whose age is <=10 and I want to chose from the two by ticking the name. Is there a way for this? Please help me!
Thank you! But, I dont want to use begin repeat because when i export it it will be in external excel. So i need by begin group is there a way for this?
Generally, it is possible to build choices from such questions and it would look like: Book2.xlsx (7.7 KB)
but I'm not sure if it's possible to filter them to get only those with age < 10.
I tried adding choice_filter like Book2.xlsx (8.0 KB) but it doesn't work, Maybe @LN you are more experienced in filtering and could tell us if it's something that should work?
The problem isn't with the choice filter, it's with the age column in the choice list. You can use a value from the form as a choice label because label text is dynamically evaluated. However, you can't use a value from the form as a choice name or other property name.
As @Grzesiek2010 describes, what you're trying to do is possible with repeats. If you're not comfortable using repeats, you could have a final question for each child that means your age criteria that says something like "Pick this child?" with a constraint that makes sure only one is picked. You could also have multiple questions after the roster has been created that look like "Pick ${c_1a}? Yes/No", etc. You can use relevance to hide the children you don't want picked and use a constraint to ensure only one is picked.