Custom dropdownlist in LightBox

Hello all, im working on MVC applciation.

I would like to add a dropdown list with some colors for the event in my LightBox.
I have been refering to this document, but still cannot get any results.

Some help would be appreciated!
On a related side note, how would I save the color in the xml output when calling:


Thank you for your time and your input.

You can use something like next

[code]var colors = [
{ key: ‘#000’, label: ‘Black’ },
{ key: ‘#F66’, label: ‘Red’ },
{ key: ‘#6F6’, label: ‘Green’ },
{ key: ‘#66F’, label: ‘Blue’ }

            {name:"description", height:43, map_to:"text", type:"textarea" , focus:true},
            {name:"color", height:20, type:"select", options: colors, map_to:"color" },
            {name:"time", height:72, type:"time", map_to:"auto" }

As for data saving, check the next article … ialization

You can use the same approach and define “color” in list of fields that need to be serialized.

Thank you Stanislav!

Will try implementing this ASAP.