errorTemplate String

The template which renders the validation message.

The errorTemplate content must be enclosed in a single DOM element parent. There are no restrictions with regard to nested child elements.

Define a custom error template

<form id="myform">
    <input name="username" required /> <br />
    <button>Validate</button>
</form>

<script>
    $("#myform").kendoValidator({
        errorTemplate: "<span>#=message#</span>"
    });
</script>
In this article
Not finding the help you need? Improve this article