The following steps shows how to create an alert, when wrong resource names are manually typed onto the resource fields of appointment window.
Step 1: Create a scheduler default sample using the below link.
Step 2: Bind the appointmentWindowOpen event as shown below,
Step 2: Define the appointmentWindowOpen event function OnAppointmentWindowOpen in which we can check for the wrong owner and resources when the respective field is focused out. The following code example shows the logic.
Step 3: Run the above sample and alert window will pop up when resource fields are entered wrongly as shown below.
Figure 1: Alert window when wrong room is entered.
Figure 2: Alert window when wrong owner is entered
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|
or the page will be automatically redirected to sign-in page in 10 seconds.