clear

Triggered when the form is cleared.

Event Data

e.sender kendo.ui.Form

The Form instance which fired the event.

Example - subscribe to the "clear" 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 }
        }],
        clear: function(ev) {
/* The result can be observed in the DevTools(F12) console of the browser. */
            console.log(ev.sender);
        }
    });
</script>
In this article