formData Object

Provides the data model of the Form.

The widget renders the form fields based on their data type, unless the items option is specified.

Example - render fields based on model

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

<script>
    $("#myForm").kendoForm({
        formData: {
            ID: 1,
            Name: "Ivan",
            Address: "Sofia"
        }
    });
</script>
In this article