Hello,
Scheduler generates template functions from the string configs when it’s being initialized. That happens when you call .attachScheduler. Try to definine configs before that[code]scheduler.config.api_date="%Y-%m-%d %H:%i";
scheduler.config.default_date="%Y-%m-%d %H:%i";
data.start_date and data.end_date are js Date objects, not formatted strings. You can stringify them manually:var date_to_str = scheduler.date.date_to_str(scheduler.config.api_date);
scheduler.attachEvent("onEventSave",function(id,data,is_new_event){
var params= [
"id="+id,
"title="+data.text,
"ds="+date_to_str(data.start_date),
"de="+date_to_str(data.end_date)
].join("&");
alert(params);
});