Validator Tag Helper Overview

The Validator tag helper helps you configure the Kendo UI Validator widget in ASP.NET Core applications.

Basic Usage

The following example demonstrates how to define the Validator by using the Validator tag helper.

        var messages = new Dictionary<string, string>() { { "custom", "Please choose another Start Time." } };
        var rules = new Dictionary<string, string>() { { "custom", "customFunction" } };
    <form id="ticketsForm" kendo-validator="true" kendo-messages="messages" kendo-rules="rules">
        <ul id="fieldlist">
                <label for="fullname" class="required">Your Name</label>
                    .HtmlAttributes(new { placeholder = "Full name", required = "required", style = "width:220px" })

See Also

In this article
Not finding the help you need? Improve this article