Hi Johannes,
The best way to do this in a clean way is to create a calculation inside the repeat group. Something like the below script, with a similar calculation for secondary school. if(${Does_child_currently_or_secondary_school} = ‘yes__primary_school’,1,0)
Then outside of the repeat group you will have another two calculations which sum the value calculated inside the group.
The relevancy on the primary school questions can then be based on this calculation outside of the repeat group having a value greater than zero.
If it doesn’t work for you straight away or there are other areas of assistance you need with this form just let us know as for Covid related data collection, its possible to provide some free services such as building this functionality into the form for you or running a check on the form being created to ensure that it includes all the best design practices for easy data analysis later.
Best regards,
Noel