Restrict When (events can be created) / (events can be drag/dropped)

These are paired together as they are very similar and their inputs are configured the same.

Restrict when events can be created

  • Limits user selection to certain windows of time.

Restrict when events can be drag-and-dropped

  • Limits event dragging and resizing to certain windows of time.

  • If business hours are given, events being dragged or resized must be fully contained within the week’s business hours (Monday-Friday 9am-5pm by default). This field will be ignored.

Event [ Select / Drag-and-Drop ] Restraint input fields

Daily Start Times

  • This is the start of the window of time

  • This will apply for all applicable days

  • This input takes time in a 24:00 hour format. Do not include any spaces or any other formatting. This input

  • The following are some acceptable examples but be aware that at this time, the calendar will only accept 1 value

[00:00, 9:00, 12:30, 18:45]
    //only include one time.
    //do not include seconds or any am/pm or other formatting pieces here

Daily End Times

  • This is the end of the window of time

  • This will apply for all applicable days

  • This input takes time in a 24:00 hour format. Do not include any spaces or any other formatting. This input

  • The following are some acceptable examples but be aware that at this time, the calendar will only accept 1 value

[00:00, 9:00, 12:30, 18:45] 
    //only include one time.
    //do not include seconds or any am/pm or other formatting pieces here

Applicable Days

  • For now, when using either of these settings, the times chosen above will apply to all provided days.

  • Days are represented as numbers and are 0-indexed meaning Sunday = 0, Monday = 1, Tuesday = 2, and so on.

  • This field accepts a list or a comma separated string

[1,2,3,4,5] //this list would represent Mon - Fri

Last updated