Indexed-Repeat Access all values

I'm having problem with indexed-repeat not being able to access the results of questions later in the form (outside the repeat) . I can currently access values for the first section but facing issues with additional section.

I'm using ODK Collect v1.11.1 (testing in Enketo Web Platform). I've attached the test xlsForm. test.xlsx

Basically what I want to do is create is dynamic number of questionnaires. And then later, show the individual selections and aggregated answers from these answers. I want to be able to show what options were selected in each set, and then make decisions using them. In the example, I want to declare this particular choice was selected more often and so on.

I've been stuck on this for a while. Is it possible through xlsForm or should I going deeper in xml itself?

hi @nz000, can you test this file to see if it is what you are looking for.

Well, the intended behavior is working in this link. I can't figure out where I went wrong. May be I'll start from scratch.

Now I know it can be done. Thanks.

1 Like