Hi David,
Thanks for your update and we are happy to hear that you found a solution.
Apart from the above solution, you can also assign the additional field name from the database to the appointmentSettings field set as shown below within the onCreate function, so that the value of that additional field can be directly accessed within "appointmentWindowOpen" event.
<code>
function onCreate(args) {
var customDesign = "<tr class='customfields'><td class='e-textlabel'>Phone</td><td><input class='county' type='text' name='Phone'/></td></tr>";
$("." + this._id + "parrow").after(customDesign);
this._appointmentSettings["Phone"] = "Phone"; // Here, the yellow highlighted keyword needs to be replaced with the additional field name added in the database.
}
function onAppointmentWindow(args) {
var schObj = $("#Schedule1").ejSchedule("instance");
schObj._appointmentAddWindow.find(".county").val(args.appointment.Phone);
}
</code>
Kindly try this if it helps and revert us, if you need any further assistance on this.
Regards,
Sellakumar K