I am trying to add 2 type times in the lightbox form. One will be used to clock in and out while the other is the default. How do I map the type time to my other columns in the DB. I have tried but keeps defaulting to start_date and end_date. Attached is a screenshot of the lightbox. Can this be done?
{name: "title", height: 35, map_to: "text", type: "textarea", focus: true},
{name: "type", height: 30, options: dropdowntypes, map_to: "type_option", type: "select"},
{name: "reason", height: 30, options: dropdownreason, map_to: "type_reason", type: "select"},
{name: "description", height: 70, map_to: "details", type: "textarea"},
{name: "staff", height: 35, map_to: "staff", type: "textarea", default_value: "enter name"},
{name: "time", height: 72, type: "time", map_to: "auto",time_format:["%H:%i","%m","%d","%Y"]},
{name: "clockin", height: 72, type: "time", map_to: "clockin",time_format:["%H:%i","%m","%d","%Y"]},