how to get current section value when save lightbox

Hi
how to get current section value when save lightbox

as

[code] scheduler.config.lightbox.sections=[
{name:“description”, height:130, map_to:“text”, type:“textarea” , focus:true},
{name:“custom”, height:23, type:“select”, options:sections, map_to:“section_id” },
{name:“time”, height:72, type:“time”, map_to:“auto”}
]

    scheduler.attachEvent("onEventAdded", function(event_id,event_object){
                   //  get current value must be here in section_id										
    });	[/code]

Hello,

“onEventAdded” is not ‘when save lightbox’. Did you want to use ‘onEventSave’?
In you case you can simply use

var section_id = event_object.section_id;

Kind regards,
Ilya

thanks

it’s works 100% but it’not available in the documentation
they must add it.

thanks again