# Buttons

By default, the Form renders **Submit** and **Clear** buttons. To customize the default buttons, use the following customization options:

| Option                                                                                                                                         | Description                                              | When to Use                                                                                     |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
| [Templates](https://www.telerik.com/aspnet-core-ui/documentation/html-helpers/layout/form/buttons#setting-the-buttons-template)                | Specify a custom template for rendering the Form buttons | When you need complete control over buttons appearance, layout, or behavior                     |
| [**Clear** Button Visibility](https://www.telerik.com/aspnet-core-ui/documentation/html-helpers/layout/form/buttons#toggling-the-clear-button) | Toggles the visibility of the default **Clear** button   | When you want to hide the default **Clear** button or implement a custom clearing functionality |

## Setting the Buttons Template

The Form allows you to specify a template that will render of the Form **Submit** and **Clear** buttons. You can use any of the available [`ButtonsTemplate*`](https://www.telerik.com/aspnet-core-ui/documentation/api/form) overloads or the `<buttons-template>` child tag or [`buttons-template*`](https://www.telerik.com/aspnet-core-ui/documentation/api/taghelpers/form) TagHelper attributes.

```Razor HtmlHelper
     @(Html.Kendo().Form()
          .Name("form")
          .ButtonsTemplate("<button>Submit</button>")
     )
```

```Razor TagHelper
    <kendo-form name="form">
        <buttons-template>
            <button>Submit</button>
        </buttons-template>
    </kendo-form>
```

## Toggling the Clear Button

As of the 2025 Q1 release, the Form enables you to toggle the visibility state of the Clear Button.

```Razor HtmlHelper
     @(Html.Kendo().Form()
          .Name("form")
          .ClearButton(false)
     )
```

```Razor TagHelper
    <kendo-form name="form"
                clear-button="false">
    </kendo-form>
```

## See Also

* [API Demo of the Form HtmlHelper for ASP.NET Core](https://demos.telerik.com/aspnet-core/form/api)

* [Form Server-Side API](https://www.telerik.com/aspnet-core-ui/documentation/api/form)

* [Form TagHelper API](https://docs.telerik.com/api/taghelpers/form)
