--- title: "Editing a List" slug: "editing-a-list" updated: 2021-03-12T15:05:26Z published: 2021-03-12T15:07:04Z canonical: "documentation.decisions.com/editing-a-list" --- > ## 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. # Editing a List 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.9.2 | | **Root Folder** | Example Lab - Textbox List Editor | | **Modules** | None | | **Dependencies** | None | This Example Lab project demonstrates how to create a new, customized list based on a pre-existing list. --- ## Explanation This project allows the user to create a new, customized list from a pre-existing list by **adding**, **removing**, and **editing** values on the new list from the original list. This is accomplished by displaying the new and original list side by side in a Form while using **Form buttons** to execute the add, remove, and edit actions. The add and remove actions are both carried out using **data Flows** which implement the **Remove Item From list** and **Add Item to List** steps. The edit action uses a **Sub Dialog Button** which allows for specific inputs to be passed into a separate Flow and the output to be passed back into the Form. The "**Edit List**" Flow works by taking in the two inputs from the Form, the selected item, and the customized list. The Flow then displays a Form to allow for the user to specify what they would like the selected item to be replaced with. That item is then added to the list using the Add Item to List step and the previously selected item is removed using the Remove Item From List Step. This project's Main Flow requires an input of a list of string to populate the original list. For ease of use, there is a unit test that can be used saved in the Flow's debugger. Reference Articles[Sub Dialog Data Flow](https://documentation.decisions.com/docs/sub-dialog-data-flow) [Data Flows](https://documentation.decisions.com/docs/using-flow-data-form) ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-583.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.9.2 or later using our [Importing/Exporting](https://documentation.decisions.com/docs/exporting-and-importing-overview) article. [ExampleLab[TextboxListEditor].zip](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/ExampleLab%5BTextboxListEditor%5D.zip) ---