Introduction: Create Lists Within a List
You can create a sublist of answers by nesting one REPEAT instruction inside another. For example, you could create a list of children inside a list of parents, like this:
Paul Linares
Jack
McKenzie
Abby
Lisa White
Kevin
Logan
Savannah
Gregory Hurley
Randy
Jessica
The list of parents (Paul Linares, Lisa White, and Gregory Hurley) is the first repeat level. The sublists of children are the second repeat level. Repeats can be nested up to four levels deep. You can nest repeats directly in a text template or you can nest repeats using a Computation variable in a text or form template.
You can use instructions or expressions with nested REPEAT instructions if you use a Computation variable. And, you can merge a particular answer from a nested repeat list into a text or form document.
Nested repeats cannot be used if you are retrieving answers from a database.
Repeats can not be nested more than four levels deep.