Validate lightbox changes

Hi,

I am trying to setup a validation callback for when events get changed. When the user clicks save on a lightbox I’d like to perform a postback to check, then if that fails put out a warning to the user on the lightbox. However if I use the onBeforeEventChanged callback it only seems to apply to drag and drop changes. I f I use onEventChanged the lightbox is already closed.

Is there another event call for me use so that I can let the user know what they’ve done wrong?

Not to worry I found the onEventSave

http://docs.dhtmlx.com/scheduler/api__scheduler_oneventsave_event.html