formatLabel Function

Callback function that could be used to change the default format of the automatically generated labels.

Note: this callback takes effect only if the items option or items.label property are not specified and labels are being automatically generated.

Example

<form id="myForm"></form>

<script>
    $("#myForm").kendoForm({
        formData: {
            Name: "Ivan",
            ZipCode: 1000
        },
        formatLabel: function(field) {
            return field + ":";
        }
    });
</script>
In this article