Only create events from now on

Hi everybody,

I would like to avoid the creation of events at a later date to the current, how can i do this?

Thanks in advance for your help

You can use code like next

scheduler.attachEvent(“onEventCreated”, function(id){
var ev = scheduler.getEvent(id);
if (ev.end_date > (new Date())) {
ev.end_date = new Date();
return true;

Also, check … date-scale


You should add this code to the scheduler_include.html file.

Best regards,