I am using the Scheduler nicely on my desktop, and now am making the mobile version.
For my pc version, I have sections that are mapped to my .php events file and are shown in the lightbox to make appts.
Here are my sections:
scheduler.locale.labels.section_apptstatus="Status";
scheduler.locale.labels.section_reason= "Reason";
scheduler.locale.labels.section_howheard= "How Heard";
scheduler.locale.labels.section_promos= "Promos";
scheduler.locale.labels.section_name = "Name";
scheduler.locale.labels.section_offices="Office";
scheduler.locale.labels.section_provider="Provider";
and I map them to my events with this:
scheduler.config.lightbox.sections=[
{name:"apptstatus", height:20, map_to:"appt_status", type:"select", options:scheduler.serverList("apptstatus")},
{name:"name", height:20, map_to:"name", type:"textarea"},
{name:"description", height:50, map_to:"text", type:"textarea", focus:true},
{name:"offices", height:20, type:"select", options:scheduler.serverList("offices"), map_to:"office_ID"},
{name:"reason", height:20, type:"select", map_to:"reason", options:scheduler.serverList("reason")},
{name:"howheard", height:20, type:"select", map_to:"howheard_ID", options:scheduler.serverList("howheard")},
{name:"promos", height:20, type:"select", map_to:"promo_ID", options:scheduler.serverList("promos")},
{name:"provider", height:20, map_to:"saw_by", type:"select", options:scheduler.serverList("provider")},
{name:"recurring", height:115, type:"recurring", map_to:"rec_type", button:"recurring"},
{name:"time", height:115, type:"time", map_to:"auto"}
]
Some of those sections are also populated dynamically using queries in my events.php file using this for example:
$scheduler->set_options("offices", $offices);
How can I achieve the same thing in the mobile version?