disable event creation for past dates

i want to block event creation functionality for past dates. so that user cant create event. how to achieve this ?

you need to validate the event.start_date when you create it, drag, or change via lightbox. So the different method will be used. For example, when you drag a cursor to create a new event:

scheduler.attachEvent("onBeforeEventCreated", function (e){ var now = new Date(); var start_date = scheduler.getActionData(e).date; if(start_date.valueOf() < now.valueOf()) return false; return true; });
For drag you can use for validation “onBeforeEventChanged”, “onEventSave” when save via lightbox.