The following is the code for my form:
scheduler.config.lightbox.sections=[
{name:"description", height:50, map_to:"text", type:"textarea" , focus:true},
{name:"discount", height:20, map_to:"discount", type:"textarea"},
{name:"assist", height:23, type:"select", options:assist, map_to:"is_assisted" },
{name:"instr", height:23, type:"select", options:sections, map_to:"instrument_id" },
{name:"recurring", height:115, type:"recurring", map_to:"rec_type", button:"recurring"},
{name:"time", height:72, type:"calendar_time", map_to:"auto"}
]
I would like to replace the 3rd element with a checkbox. I tried the code below, but nothing shows up:
{name:“assist”, map_to:“is_assisted”, type:“checkbox”, checked_value: “Y”, unchecked_value: “N”},
Am I missing something? Also, ideally the discount text area (which does not need to be the full width of the form) and the assist checkbox would be together on one line. Is that possible?