The following steps show how to validate the fields added within the Schedule Custom Appointment window.
Step 1: Create a Schedule sample with Custom Appointment window by referring to the following links.
Step 2: Add the following code examples within the style and script section.
Step 3: Now, run the sample. Open the appointment window, click the submit button without filling the subject and description fields. Then, check also for all other field validations as shown in the following screenshots.
Figure 1: Error in the Field value
Figure 2: Date time validation displayed in the alert message
Figure 3: Custom appointment form displayed without any error
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|
|3044||12/15/2014||08/27/2015||ASP.NET Web Forms||Schedule|
or the page will be automatically redirected to sign-in page in 10 seconds.