# Types

In this article, you will find information about the different ways to configure the type for the Telerik UI for ASP.NET MVC OTPInput items.

The available types are:

* `Number`—Allows typing only numerical characters.
* `Text`—Allows typing characters of a different nature.
* `Password`—Behaves like an input element of type <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/password" target="_blank">password</a>.

The below example demonstrates how to configure the `Type()` configuration of the component.

```Razor HtmlHelper
    @(Html.Kendo().OTPInput()
        .Name("otp")
        .Items(5)
        .Type(OTPType.Number)
    )
```

## See Also

* [Server-Side API of the OTPInput HtmlHelper](https://www.telerik.com/aspnet-mvc/documentation/api/otpinput)

* [Client-Side API of the OTPInput](https://docs.telerik.com/kendo-ui/api/ui/otpinput)
