--- title: "Using a Sub Dialog" slug: "using-a-sub-dialog" updated: 2021-03-12T15:05:27Z published: 2021-03-12T15:07:13Z canonical: "documentation.decisions.com/using-a-sub-dialog" --- > ## 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. # Using a Sub Dialog 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 - Sub Dialog Example | | **Modules** | None | | **Dependencies** | None | This Example Lab demonstrates a Sub Dialog button on a Form that displays another Form. --- ## Explanation The Main Flow of this Example Lab displays a Form with the current user email address. This Form has a Sub Dialog button that passes that information into a Sub Dialog Flow. This Flow takes in a name from the main Form and displays it in a new Form on top of the original. By default, Sub Dialog Flows have a ChangeData end step and a Cancel end step. The ChangeData outcome lets the user pass data back into the main Form, but in this instance, nothing is passed out. Reference Articles[Sub Dialog Data Flow](https://documentation.decisions.com/docs/sub-dialog-data-flow) ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1602506952509.png) ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1602506977074.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/exporting-and-importing-overview) article. [ExampleLab[SubDialogExample].zip](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/ExampleLab%5BSubDialogExample%5D.zip) ---