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: ({ message }) => `<span>${message}</span>`
    });
</script>
In this article