> For the complete documentation index, see [llms.txt](https://docs.umbraco.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.umbraco.com/umbraco-forms/16.latest/editor/creating-a-form.md).

# Creating a Form - The basics

In this article, we'll take a look at the basic steps of creating a Form and adding the Form to your Umbraco site.

## Accessing the Forms Section

You can manage the Forms in the **Forms** section of the Umbraco backoffice. You need to have access to the section in order to see it.

If you do not see the **Forms** section, you might need to request access from the site Administrator. An Administrator can give permission to view the **Forms** section. This is done from the **Users** section of the backoffice.

![Forms Section](/files/GBYlEzRB4HolZZrwsRN7)

## Creating a Form

To create a Form, follow these steps:

1. Navigate to the **Forms** section.
2. Click **...** next to the Forms folder.

   ![Forms tree](/files/pi6OMMKYCvf4MmWfgG25)
3. Select **Create** > **New Form**.

   ![Forms create dialog](/files/0anyuoSIIpXqxI4PvEfS)
4. The Form Designer opens in the editor.

   ![Forms designer](/files/daAeKlZKyryfVzkTgSGY)
5. By default, there is a page, a fieldset, and a container available. The rest of the Form has to be added using the interface.
6. Enter a **Name** for the Form. Let's call it *Our first form*.

   ![Forms Name](/files/Thr0jzGa006YHVieSnqD)
7. *\[Optional]* Enter the **Page Name**. We'll call it *The first page*. Click **Add new page** at the bottom of the Forms designer to add more pages.

   ![Forms Page Name](/files/b2iSprlitFRs7zM4yZFe)
8. *\[Optional]* Enter the **Group Name**. Click **Add new group** to add another group.

   ![Forms Group Name](/files/Qshz75aPCJFBBls0N6vm)
9. Click the **Add Question** button to add a new field.

   ![Forms Add Field](/files/WnPgsH2vomlsaECJgZbF)
10. The **Choose field type** dialog opens.

    ![Forms add field dialog](/files/L70gSC75yMTdlG50FaZE)
11. Select **Short Answer**. Enter the following details in the **Edit field** window:

    | Field Name      | Value                |
    | --------------- | -------------------- |
    | Enter question  | Name                 |
    | Enter help text | Enter your name here |
12. In the **Sensitive data** field, choose if the field stores sensitive data. Once selected, the data from this field will be prevented from being downloaded and viewed by users who do not have permission to do so. Only members of the sensitive data user group will see this option of downloading.
13. Enter a **Default Value** for the field.
14. Add a **Placeholder** to make it easier for the user to fill in the Form.
15. Select if the field is **Mandatory** and customize the message.
16. Add a **Validation** to the field. There are some predefined validations available but it is possible to add your own custom validation as well.
17. Some form fields allow you to show or hide the label that's associated with the field when it is rendered within the form on the website. The default is always to show the field, but if you prefer to hide it, untick the **Show label** option.
18. Set **Conditions** for the field. For more information on Conditions, see the [Setting-up conditional logic on fields](/umbraco-forms/16.latest/editor/creating-a-form/conditional-logic.md) article.

    Some of the additional settings are dependent on which answer type was chosen. For example, since we selected *Short Answer* as our answer type we got two additional settings (Default Value and Placeholder).
19. Once the configuration is completed, click **Submit**. You will see that the field has been added to the Form designer.

    ![Forms name field added](/files/SIrtqZui0UWNUWhQzfrL)

To edit a field, click the **cog** icon next to the field to open the dialog. To copy the field and its properties, click the **copy** icon. To delete a field or a group, click the **Recycle Bin** icon.

### Structuring the Form

#### Ordering Fields

Once you've added a few fields to your Form, you might want to change the order of questions. To do so, click **Reorder** in the top-right corner of the Form designer.

![Reorder Form field](/files/8TfmV1YxG1BSIPpCkdYj)

When reordering your Form, you can drag and drop the fields to make it look the way you want. Click **I am done reordering** to get back to the Form designer.

![Form Fields Reordered](/files/exDilcYsVCNQlzUhgeSD)

#### Form Pages

Forms can be grouped into pages. When rendered, each page will be presented one at a time to the user. They will need to complete the first page before moving onto the second and can navigate back and forth between pages.

To add a new page at the start or end of the form, use the buttons in the top right corner of the editing view.

![Add new page button at the top of Form](/files/IpYjn1ZYJxmsRluqa6xB)

You can also add a new page directly to the bottom of the form via the **Add new page** button. This will appear below other pages when at least one exists.

![Add new page button](/files/jFepNTUTf6RVeomTHPH9)

### Form Groups

With a page, form fields can be arranged into groups. These will display all together on a single page but can be styled so the fields are appropriately grouped in fieldsets.

New groups are added via the **Add new group** button.

![Add new Group button](/files/6fIxuQpiEF9grbY0WbXA)

## Form Columns

The last level of structure are columns that can be created within a group. To set the number of columns, click the **cog** icon next to the Group Name. You can now add or move fields to the new columns created.

![Form Columns](/files/HwRAOimWXZogS9YMpso6)

## Saving the Form

Once have created the Form, save the design by clicking the **Save** button.

![Form save Form](/files/p3Wx0WelUXMD2WPV0YmK)

## Importing a Form

**Import Form Definition** allows you to import a form into your Umbraco site using a predefined JSON file. This file contains the form’s structure, fields, validations, workflows, and settings.

When you import a form definition, Umbraco uses the JSON structure to recreate the form as it was defined, enabling you to:

* Reuse existing forms across multiple projects or environments.
* Migrate forms between development, testing, and production environments.
* Restore forms from backups or previously exported definitions.

Using the **Import Form Definition** option, you can manage your forms without having to recreate them.

![Import a Form](/files/nHV6l580moxAagHT3vot)

## Organizing Forms in Folders

If the product installation is set up to store form definitions in the database, you will be able to store forms within folders. This can help with organization and makes it easier to locate the forms for modification, especially if you plan to create many Forms.

To create a folder:

1. Go to the **Forms** section.
2. Click ... next to Forms folder.
3. Select **Create**.
4. Select **New Folder**.

   ![Create Folder](/files/47GhILzdZXGXgFhEy5zK)
5. Enter a **Folder Name**.
6. Click **Create Folder**.

   ![Folder Name](/files/yB8DyCXwMx4dpY1L8Eh4)

You can create folders within folders, rename, move, import folders, or delete them.

![Folder Options](/files/DpxvD8cCNbkPjm2jsUWQ)

To move or copy forms into folders, click the **...** next to the Form and select **Move**.

![Move Form in Folder](/files/WqdVXUkos2CC5L8iQEOd)

## Adding the Form to the Umbraco Site

To add the Form, follow these steps:

1. Navigate to the **Content** section of the Umbraco Backoffice.
2. Select the content page where you want to insert the Form. The page you choose should have a form picker which you can add in the **Settings** section under **Document Types**.

   ![Content page](/files/YVhqpGl3z9lPnyW0begC)
3. Click **Choose** and select the Form you want to insert. You will be able to select from the full list of forms. If available on your installation, you will also be able to select using a folder based view, which can be quicker to navigate when many forms have been prepared.

   ![Content page add macro](/files/adtGaG3QkuEDjBSQzNVS)
4. Click **Choose**.
5. The Form is inserted on your page. Click **Save and publish**.

   ![Content page with form](/files/vh2lb828TxuQg9u9CZAQ)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.umbraco.com/umbraco-forms/16.latest/editor/creating-a-form.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
