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.


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

        formData: {
            Name: "Ivan",
            ZipCode: 1000
        formatLabel: function(field) {
            return field + ":";
In this article