Documate is now Gavel! Read more about why we’re excited about this rebrand.

Creating Repeating Items within Repeating Items

When listing out items such as Children and Grandchildren, or Banks and Accounts, you will need to “Nest” a set of repeating questions within another set of repeating questions. You will do this by adding a Repeating Item question inside of your Repeating Item question.

In the following example, we are gathering the name and birthdate for all the client's children. However, we also need to know if those children have their own children. When we select a “Repeating Item” question while creating a “Repeating Item” question, we are directed to a new page to ask all of the questions for the nested repeating item.

Since repeating items within repeating items will always be shown on their own page, you can also designate a page title. By default, the page title will be ${ordinal(i)} and the name of your main repeating item. This will display the ordinal number of the corresponding entry in the repeating item for which the repeating item within a repeating item is being shown.

We can replace this page title with any standard page title, such as “Grandchildren.” We can also use syntax to display a value from the corresponding entry in the main repeating item.

To do this, we can use the syntax ${ItemName[i].AttributeName}. You will replace ItemName with the item name of your main repeating item, and you will replace AttributeName with the name of the attribute from the main repeating item that you would like to display.

The result below is that when I fill out the workflow and insert Xavier Mcintosh as my child:

We can refer back to Xavier Mcintosh and ask for the information for their children:

This will repeat for all children listed in the main repeating item.

Here is more information for when you are ready to add your Repeating Item within Repeating Item to your Word document template.

Button Text