Repeat function

1. What is the problem? Be very detailed.
I want to repeat a set of question based on the answer of a previous question:

  • Repeat only once if the anwser to the previous question is option 1
    Repeat many times if the answer to the previous question is option 2 (repeat till the user stops)
    2. What app or server are you using and on what device and operating system? Include version numbers.
    I am using ODK V1.30.1 with android version 10. I am using kobotoolbox server.

3. What you have you tried to fix the problem?
I visited the forum website and I downloaded ODK documentation.
I am quite new in ODK.

4. What steps can we take to reproduce the problem?

5. Anything else we should know or have? If you have a test form or screenshots or logs, attach below.

Hi @i_ousmane
We're glad you're here. When you get a chance, please introduce yourself on this forum thread. I'd also encourage you to add a real picture as your avatar because it helps build community!

You can solve this issue by having two groups, one with specified repeat_count = 1 and one without. Of course, only one group should be displayed depending on the previous question.
It could be something like:
repeatCountTest.xlsx (8.1 KB)

1 Like

It helps me a lot. My problem is now solved.

Thank you very much.