Telerik UI for ASP.NET MVC OTP Input Overview

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
index.cshtml
IndexController.cs

Also available for:

CLIENT-SIDE API SERVER-SIDE API
devcraft ninja image

The OTP Input component is part of Telerik UI for ASP.NET MVC, a professional grade UI library with 110+ components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.

Description

The Telerik UI for ASP.NET MVC OTP Input is a UI component designed for entering one-time passwords (OTP) during multi-factor authentication. It enhances application security while ensuring a smooth and intuitive user experience.

The component offers built-in options for different types of user input and separators between the groups of input fields. Also, you can customize its appearance and integrate it quickly into a Form component.

The current demo shows how to use the OTP Input for profile authentication. When you enter a digit or a character, the next input field is focused.

The ASP.NET MVC OTP Input control is part of Telerik UI for ASP.NET MVC, a professional-grade UI library with 110+ components for building modern and feature-rich web applications. The OTP Input is a server-side wrapper for the Kendo UI for jQuery OTP Input widget and comes in the form of an HtmlHelper.

Functionality and Features

  • Appearance—The OTP Input can alter its appearance by using a variety of sizing, outline, and border radius.
  • Items—The OTP Input can include predefined items that will serve as independent input groups.
  • Separator—The OTP Input can render a separator between each of the defined input groups.
  • Types—The OTP Input can specify the type for each of the generated inputs.
  • Adaptiveness—The OTP Input can configure what type of virtual keyboard will be displayed when working with the component on a mobile device.
  • Accessibility—The OTP Input is accessible for screen readers, supports WAI-ARIA attributes, and delivers keyboard shortcuts for faster navigation.

Additional Apps

This OTP Input example is part of a unique collection of hundreds of ASP.NET MVC demos, with which you can see all Telerik ASP.NET MVC components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in the ThemeBuilder.

Support & Learning Resources

Additional Resources