size String(default: "medium")

Sets a value controlling size of the component. Can also be set to the following string values:

  • "small"
  • "medium"
  • "large"
  • "none"

Example - sets a size

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

<script>
    $("#myForm").kendoForm({
        size: "large",
        validatable: {
            errorTemplate: "<span>#=message#</span>"
        },
        formData: {
            ID: 1,
            Name: "Ivan",
            Address: "Sofia"
        },
        items: [{
            field: "Name",
            label: "Name:",
            validation: { required: true }
        }, {
            field: "Address",
            label: "Address:",
            validation: { required: true }
        }]
    });
</script>
In this article