Event text with text of select form

Hello, i’m trying to put in a event text the selected text of a select in a form, like this:

scheduler.config.lightbox.sections=[
{name:“tecnicos”, height:23, type:“select”, map_to:“tecnicos”, options:scheduler.serverList(“tecnicos”)},
{name:“time”, height:72, type:“time”, map_to:“auto”}
];

When lightbox appear on event onEventSave, i’m trying to take the text of the select to put on the event text, like this:

scheduler.attachEvent(“onEventSave”,function(id,data){
scheduler.getEvent(id).text = scheduler.getLabel(“tecnicos”);

return true;
});

But i don’t know how can select the text of the select, can help me?.

Thanks !!.

I’ve got the answer :slight_smile:, the code i used is:

scheduler.attachEvent(“onEventSave”,function(id,data){
scheduler.getEvent(id).text = scheduler.getLabel(“tecnicos”, data.tecnicos);

				return true;
            })

Bye.