submit

Triggered when the form is submitted.

Event Data

e.sender kendo.ui.Form

The Form instance which fired the event.

e.model Object

The form model.

Example - subscribe to the "submit" event during initialization

<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 }
        }],
        submit: function(ev) {
/* The result can be observed in the DevTools(F12) console of the browser. */
            console.log(ev.model);
        }
    });
</script>

Example - subscribe to the "submit" event after initialization

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

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

    form.bind("submit", function(e) {
/* The result can be observed in the DevTools(F12) console of the browser. */
        console.log(e);
    });
</script>
In this article