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

# File Upload Block in Quiz Funnels

> Learn how to use the File Upload block in LanderLab quiz funnels. Set accepted file types, min/max file limits, validation rules, and collect files from users in any step.

The File Upload block lets you collect files from users directly inside a quiz funnel step. You can drop it into any step, configure which file types are accepted, set how many files users can upload, and make the upload required before they can proceed.

***

## What Is the File Upload Block?

The File Upload block is a quiz block you add to a step in your funnel. When a user reaches that step, they see a drag-and-drop upload area where they can submit one or more files.

It is useful when you need supporting documents, images, or media from a lead as part of your qualification flow. For example: proof of identity, a portfolio file, a contract, or a photo of a product issue.

***

## How to Add the File Upload Block to a Step

<Steps>
  <Step title="Open your quiz funnel">
    Navigate to the quiz funnel you want to edit in LanderLab.
  </Step>

  <Step title="Go to the right step">
    Open the step where you want to collect files, or create a new step.
  </Step>

  <Step title="Add the block">
    Click **Add Block** inside that step and select **Upload** from the block list.
  </Step>

  <Step title="Configure">
    The block is added to your step. Click it to open the settings panel and configure it.
  </Step>
</Steps>

***

## Block Settings

Once the Upload block is on your step, click it to open its settings panel on the left.

### General

| Field           | What It Does                                                                                   |
| --------------- | ---------------------------------------------------------------------------------------------- |
| **Name**        | Internal identifier for the block. Used in lead data and quiz logic references.                |
| **Label**       | The small label shown above the upload area on the published step.                             |
| **Title**       | The main prompt shown inside the upload zone (e.g., "Drop your file here or click").           |
| **Description** | Supporting text shown below the title inside the upload zone (e.g., "Accepts png, jpeg, pdf"). |

### Settings

| Field           | What It Does                                                                |
| --------------- | --------------------------------------------------------------------------- |
| **Min Files**   | The minimum number of files the user must upload. Default is 1.             |
| **Max Files**   | The maximum number of files allowed.                                        |
| **Allow Types** | The file formats accepted. You can select multiple types from the dropdown. |

#### Accepted File Types

You can allow any combination of the following formats:

<AccordionGroup>
  <Accordion title="Images">
    JPEG, PNG, WebP, GIF, SVG, HEIC
  </Accordion>

  <Accordion title="Documents">
    PDF, DOC, DOCX, XLS, XLSX, PPT, PPTX, CSV, TXT
  </Accordion>

  <Accordion title="Video">
    MP4, MOV, WebM
  </Accordion>
</AccordionGroup>

<Warning>
  The total size of files uploaded must not exceed 30 MB per submission
</Warning>

***

## Validation

Under the **Validations** section, you can turn on the **Required** toggle. When enabled, the user cannot move to the next step until they have uploaded at least the minimum number of files.

You can also set a custom **Error Message** that displays if the user tries to proceed without uploading.

***

## Other Configuration Options

The Upload block also supports the same standard block options available to other quiz blocks:

| Section        | What It Controls                            |
| -------------- | ------------------------------------------- |
| **Spacing**    | Adjust padding and margins.                 |
| **Appearance** | Control the visual look of the block.       |
| **Visibility** | Show or hide the block based on conditions. |

***

## How It Looks to the User

When a user reaches the step, they see a clearly labeled upload zone with the title and description you configured. They can drag and drop files directly into the area, or click to browse and select files from their device.

***

## Tips

<Tip>
  Keep the **Description** field clear about what formats and sizes are accepted. This reduces user confusion and failed submissions.
</Tip>

<Tip>
  If you only need one file, set both **Min Files** and **Max Files** to `1` to simplify the experience.
</Tip>

<Tip>
  Use the **Required** toggle when the file is essential for lead qualification. Leave it off if uploading is optional.
</Tip>

<Tip>
  The **Name** field value becomes the key in your lead data. Give it a clear name like `portfolio_upload` or `id_document` so it is easy to identify in your leads dashboard.
</Tip>

***

## Related

<CardGroup cols={2}>
  <Card title="Managing Steps" icon="list-ol" href="/features/quizzes/managing-steps">
    Learn how to add, reorder, and manage steps in your quiz funnel.
  </Card>

  <Card title="Quiz Blocks" icon="puzzle-piece" href="/features/quizzes/get-started">
    Explore all available blocks you can add to a quiz step.
  </Card>

  <Card title="Validation" icon="circle-check" href="/features/quizzes/get-started">
    Understand how to set rules that control when users can proceed.
  </Card>

  <Card title="Conditions" icon="code-branch" href="/features/quizzes/get-started">
    Use conditional logic to show or hide blocks based on user input.
  </Card>
</CardGroup>
