--- title: "Setting A Constant Number of Data Repeater Rows" slug: "setting-a-constant-number-of-data-repeater-rows" status: "update" updated: 2024-02-19T10:53:43Z published: 2024-02-19T10:53:43Z canonical: "documentation.decisions.com/setting-a-constant-number-of-data-repeater-rows" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Setting A Constant Number of Data Repeater Rows Example Lab ArticleWhile Example Lab projects are resources for public use, articles and assets are not actively maintained. Screenshots and features are from the specified version below. These references may become dated as new versions are released. --- ## Overview | ## Example Lab Details | | --- | | **Version** | 6.12.1 | | **Root Folder** | Example Lab- Setting A Constant Number of Data Repeater Rows | | **Modules** | None | | **Dependencies** | None | This Example demonstrates how to populate a Data Repeater with a constant number of Rows. --- ## Explanation For this example, **Account Type** was used for the **Data Repeater** input. The Data Repeater displays the following fields: "First Name", "Last name", and "Email". The Flow starts with the **Create Data** step, which contains an empty list of the Account datatype. The **For Loop** step is configured to 10 iterations. For every iteration, the **Generate Random First Name** step will generate a random First Name, and the **Generate Random Surname Name** step will generate a random Last Name. The **Add Item to List** step "New Item" input field is set to "Build Data" so that only the three fields set are found on the Data Repeater. First Name and Last Name are mapped from the output of the **Generate Random First Name** and **Generate Random Surname Name** steps, respectively. The Email field is set to "Merge Plain text," which is configured to "FirstNameLastName@email.com". The original List input is mapped to the empty **Account List** that was created in the **Create Data** step at the beginning of the Flow. The **Add Item to List step** output changes the value to the empty **Account List.** The updated Empty Account List is mapped to the Form Data Repeater element. When the **"Main Flow"** Flow is run, a Form will be displayed with only 10 entries on the Data Repeater. Reference Articles[Create Repeater Form Control](https://documentation.decisions.com/docs/creating-data-repeaters) ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/DR.png) ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/Main%20Flow.png) --- ## Project Download The examples attached were developed to be instructional and were not developed as officially supported components. For more information or to engage our service team to develop fully supported, production-quality solutions, please contact services@decisions.com. Import the project below to a Decisions environment on version 6.12.1. or later, using our [Importing/Exporting](https://documentation.decisions.com/docs/importing-and-exporting-projects) article. [ExampleLab[SettingAConstantNumberofDataRepeaterRows].zip](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/ExampleLab%5BSettingAConstantNumberofDataRepeaterRows%5D.zip) ---