I store the work type in mySQL like this from the main site;
var work_type=[
{key:'work', label:"Work"},
{key:'rdo', label:"RDO"},
{key:'early', label:"Early"},
{key:'late', label:"Late"}
];
The data saved to mySQL is the value under ‘key’. When I go to use it in the main site, I use the code;
scheduler.getLabel("work_desc", event.work_desc)
where ‘work_desc’ is the mapped property_id used in the custom form.
Can something similar be done to the mobile site? Does the mobile codebase support;
scheduler.getLabel("work_desc", event.work_desc)