Hi,
i would like to add an extra field (select) in the form of the scheduler.
I use this instructions:
scheduler.config.lightbox.sections = [
{name: "description", height: 200, map_to: "text", type: "textarea", focus: true},
{name: "type", height: 21, map_to: "num_cliente", type: "select",
options: scheduler.serverList("num_cliente")},
{name: "time", height: 72, type: "time", map_to: "auto"}
And then in a PHP file if I use this instructions works:
$list->render_table("clientes","num_cliente", "apellidos(label)");
$scheduler->set_options("num_cliente", $list);
but if I try to select more than 1 field it does not work:
$list->render_table("clientes","num_cliente", "apellidos,nombre");
$scheduler->set_options("num_cliente", $list);
Where is my mistake?
Thanks a lot !
Albert