---
title: "Form.uploadDeleteCheckbox ViewHelper <f:form.uploadDeleteCheckbox>"
manual: "Fluid ViewHelper Reference"
version: "13.4"
permalink: "https://docs.typo3.org/permalink/t3viewhelper:typo3-fluid-form-uploaddeletecheckbox@13.4"
source: "Global/Form/UploadDeleteCheckbox.rst"
modified: "2026-09-17T09:07:45+00:00"
---

# Form.uploadDeleteCheckbox ViewHelper `<f:form.uploadDeleteCheckbox>`

ViewHelper which renders a checkbox field used for file upload deletion in Extbase forms.

Go to the source code of this ViewHelper: [Form\\UploadDeleteCheckboxViewHelper.php (GitHub)](https://github.com/TYPO3/typo3/blob/main/typo3/sysext/fluid/Classes/ViewHelpers/Form/UploadDeleteCheckboxViewHelper.php).

**Table of contents**

-   [Examples](https://docs.typo3.org/permalink/t3viewhelper:examples@13.4)
-   [Argument of the f:form.uploadDeleteCheckbox](https://docs.typo3.org/permalink/t3viewhelper:argument-of-the-f-form-uploaddeletecheckbox@13.4)

## Examples

**packages/my_extension/Resources/Private/Partials/Upload.fluid.html**

```html
<f:form.uploadDeleteCheckbox id="file" property="file" fileReference="{myModel.file}" />
```

**HTML output**

```html
<input type="checkbox" id="file" name="tx_extension_plugin[@delete][item][hash]" value="signed-json-string">
```

## Argument of the f:form.uploadDeleteCheckbox

> **Allows arbitrary arguments**
>
> This ViewHelper allows you to pass arbitrary arguments not defined below
> directly to the HTML tag created. This includes custom `data-` arguments.

-   **additionalAttributes**

    -   *Type:* array

    Additional tag attributes. They will be added directly to the resulting HTML tag.

-   **aria**

    -   *Type:* array

    Additional aria-\* attributes. They will each be added with a "aria-" prefix.

-   **data**

    -   *Type:* array

    Additional data-\* attributes. They will each be added with a "data-" prefix.

-   **fileReference**

    -   *Type:* TYPO3\\CMS\\Extbase\\Domain\\Model\\FileReference
    -   *Required:* true

    The file reference object

-   **id**

    -   *Type:* string

    ID of the generated checkbox element

-   **property**

    -   *Type:* string
    -   *Required:* true

    Name of object property
