# Initial Edit Form Values

The Scheduler enables you to pre-define values for the different fields when creating and updating tasks. The initial values of the Scheduler's Edit Form can be defined with the [modifyInitialFormValues](https://www.telerik.com/kendo-vue-ui-develop/components/scheduler/api/schedulerprops#modifyinitialformvalues) property.

## Basic Usage

The below example shows how we can set the initial values of the `AllDay` checkbox and the `Rooms` DropDownList available in the editing form.

[Demo Source](https://demos.telerik.com/kendo-vue-ui/scheduler/data-operations/editing/default-values/source.txt)

To achieve the above example the following `modifyInitialFormValues` method is passed to the [modifyInitialFormValues](https://www.telerik.com/kendo-vue-ui-develop/components/scheduler/api/schedulerprops#modifyinitialformvalues) property of the Scheduler.

```jsx
modifyInitialFormValues(dataItem) {
  return dataItem.roomId === undefined
    ? {
        ...dataItem,
        roomId: 1,
        isAllDay: true,
      }
    : dataItem;
},
```

The above snippet modifies the default `isAllDay` task field and the `roomId` resource field.

* The default fields available in the edit form are listed in the [Fields API documentation](https://www.telerik.com/kendo-vue-ui-develop/components/scheduler/api/fields).

## Suggested Links

* [Scheduler Editing - Basic configuration](https://www.telerik.com/kendo-vue-ui-develop/components/scheduler/editing)
* [Scheduler - Custom Edit Form](https://www.telerik.com/kendo-vue-ui-develop/components/scheduler/editing/custom-form)
* [Scheduler - Custom validation messages](https://www.telerik.com/kendo-vue-ui-develop/components/scheduler/editing/custom-validation-messages)
* [API Reference of the SchedulerFormEditor](https://www.telerik.com/kendo-vue-ui-develop/components/scheduler/api/schedulerformeditorprops)
* [Kendo UI for Vue Form](https://www.telerik.com/kendo-vue-ui-develop/components/form)
