errorTemplateString
The template which renders the validation message.
The
errorTemplatecontent must be enclosed in a single DOM element parent. There are no restrictions with regard to nested child elements.
Example
<form id="myform">
    <input name="username" required /> <br />
    <button>Validate</button>
</form>
<script>
    $("#myform").kendoValidator({
        errorTemplate: ({ message }) => `<div class="custom-error">${message}</div>`
    });
</script>
Define a custom error template
<form id="myform">
    <input name="username" required /> <br />
    <button>Validate</button>
</form>
<script>
    $("#myform").kendoValidator({
        errorTemplate: ({ message }) => `<span>${message}</span>`
    });
</script>
In this article