Display a group based on value calculated

1. What is the issue? Please be detailed.

I have a survey which calculate values of the options and then display a group based on a certain value obtained, so do I do this in odk form ?
2. What steps can we take to reproduce this issue?

3. What have you tried to fix the issue?

4. Upload any forms or screenshots you can share publicly below.

In ODK XLSForm you can you the calculate question type to obtain values, then use a relevant control on a grouping of questions to show or hide it based on some evaluation. There are lots of details in the XLSForm docs (all the previous links), and also in the ODK docs at https://docs.getodk.org/xlsform/.


Thanks for your reply @danbjoseph but have looked around so many posts without seen solution to my issue, my case is that, I have a group which gives value to every answer of a question then it calculate the total at the end where the occurrence of the next group depends on the value obtained from the first group. How do I do this in ODK form??

Here's the section of the ODK docs on referencing questions from a repeat group: https://docs.getodk.org/form-repeats/#repeat-recipes-and-tips

What have you tried so far? Can you post the XLSForm that you've worked on?