---
title: "Generating a Data Structure Form"
slug: "generating-a-data-structure-form"
description: "This document shows how to create Forms  from a Defined Data Structure Type in Decisions.  These forms can be made by right-clicking a Data Structure, and selecting Generate Data Form."
tags: ["Data Structures", "Data Form"]
updated: 2025-06-20T13:17:02Z
published: 2025-06-20T13:17:02Z
---

> ## 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.

# Generating a Data Structure Form

## Overview

A Form can be auto-generated to include fields from a Data Structure. This quickens build time while ensuring no missing data fields during data submission.

## Example

1. In the Designer Project, click CREATE DATATYPES/INTEGRATION****and select**Flow Structure.**  
**![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2025-06-20_09h06_24.png)**
2. In the **Flow Structure** window, enter a name in the **Structure Type Name** field and create two **String [Text]** data fields (FirstName, LastName) and one **Int32 (Number)** data field (Age). Click SAVE.  
![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2025-06-20_09h08_19.png)
3. Right-click on the Flow Structure and click **Generate Form**.  
![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2025-06-20_09h09_30.png)
4. In the **Create Form** window, select **GridLabelLeft**under **Layout Style**. For the **Cancel Outcome Name** field, enter "Cancel". Click GENERATE FORM.  
![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2025-06-20_09h12_29.png)
5. In the Designer Project, click CREATE FLOW to [create a new Flow](/v9/docs/create-flows).
6. Attach a **Show Form** step to the **Start**step. On the Properties panel, click PICK OR CREATE FORM and pick the existing Form that was created "PersonStructureForForm Form". With the step selected, click **Unknown**next to the**input**field and select **Build Data**.  
![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2025-06-20_09h16_08.png)
7. Connect the **Ok**path and **Cancel**path to the **End**step. Click **Save**to save changes to the Flow.

### Debug

1. On the top action bar, click **Debug**.
2. Click START DEBUGGING.
3. When the Debugger runs, the auto-generated Form will appear for user input.

---

For further information on Data Structures, visit the [Decisions Forum](https://community.decisions.com/categories/Datastructures).
