validate

Validates the form by executing the Form Validator validate() method.

Example

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

<script>
    $("#myForm").kendoForm({
        formData: {
            ID: 1,
            Name: "Ivan",
            Address: "Sofia"
        },
        items: [{
            field: "Name",
            label: "Name:",
            validation: { required: true }
        }, {
            field: "Address",
            label: "Address:",
            validation: { required: true }
        }]
    });

    var form = $("#myForm").getKendoForm();

    form.validate();
</script>
In this article