> ## Documentation Index
> Fetch the complete documentation index at: https://docs.box.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Creating a Form

<div className="article_labels_list" style={{display: 'none'}} dangerouslySetInnerHTML={{__html: "End User , New , P2 , Box Forms"}} />

<Note>
  **Note:**\
  Box Forms is available only for Enterprise Advanced accounts. Customers must agree to the Box Forms Addendum in order to use Box Forms.
</Note>

With Box Forms, you can create forms to gather information from recipients.

# Building a Form

Get started by going to the **Relay** section and then the **Forms** tab. From here, click the **New +** button to begin creating a form.

<Frame>
  <img src="https://mintcdn.com/product-docs/O4_cZ2sQfJnxuAba/images/box-forms/Forms-Emptyy-State.png?fit=max&auto=format&n=O4_cZ2sQfJnxuAba&q=85&s=c5fe591e53b7e4670d05d8cce5dd224b" alt="" width="3440" height="1932" data-path="images/box-forms/Forms-Emptyy-State.png" />
</Frame>

**To build a form:**

Add a field by dragging and dropping, adding it inline, or clicking the **Add a Field** button on the form.

* Short Text
* Long Text
* Checkbox
* Radio
* Dropdown
* Number
* File Upload
* Email Address
* Metadata
* Static Text
* Date and Time

Customize branding:

* Select a theme color.
* Add a header logo.

<Note>
  **Note:**\
  Box Forms is available only for Enterprise Advanced accounts. Customers must agree to the Box Forms Addendum in order to use Box Forms.
</Note>

# Adding Form Logic

Logic within forms can adapt based on user inputs, making them more relevant and easier to complete. You can set conditions to show or hide fields and add specific logic for further customization.

**To add custom logic:**

For the **If** condition, configure the logic that determines the event needed to trigger the conditions. Select to specify if **All Conditions** or **Any Conditions** apply:

For the applicable field, select an condition operator:

* Equals
* Does Not Equal
* Contains
* Does not Contain
* Begins With
* Ends With
* Is Empty
* Is Not Empty

For the **Then** outcome, configure the logic that determines the outcome of the select **If** conditions. Select from the following:

* **Show/Hide Fields**\
  This outcome can be used to show/hide submitters relevant form fields as they complete the form.
* **Enable/Disable Fields**\
  This outcome can disable fields to make them read-only while keeping them visible.

(Optional) For the **Else** outcome, configure the logic that is applied after the **Then** condition:

* Show/Hide the field.
* Enable/Disable the field.

# Previewing a Form

Once a form is completed, you can click **Preview** to review the form prior to sharing it. From the **Preview** tab, you can test out the fields and conditions to ensure all work appropriately. Submissions in preview are not included in the form submissions page.

# Publishing a Form

After reviewing the form, you can share it to gather submissions.

(Optional) Click **Settings** and select if you want to require form submitters to log in to Box:

* To allow only logged in Box users to create submissions, toggle on **Require uploaders to log in to Box**. If your Admin has this setting enabled, then form submitters will have to log in to Box by default.
* To allow anonymous form submissions, toggle off **Require uploaders to log in to Box**.

(Optional) Click **Settings** and set an expiration date for the form:

1. Select **Set a link expiration date**.
2. Select a date.
3. Click **Save**.

## Embedded Links

**To create an embed widget from your form**

1. Click **Copy**. The toggle **Link is enabled** needs to be set to on to share the link.
2. Navigate to the form.
3. Click the ellipsis (**…**) on the specific form.
4. Select **Share**.
5. To the right of the link, click the code box.

Box creates the iFrame; you can use the copied code to embed the form.
