We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to validate the fields of custom appointment form - ASP Schedule?

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.

Sample Location: http://asp.syncfusion.com/demos/web/Schedule/CustomWindow.aspx

Help document Location: Using Customized Appointment window: http://docs.syncfusion.com/aspnet/schedule/customization

Step 2: Add the following code examples within the style and script section.

CSS

JavaScript

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

 

Sample Link

CustomAppointmentFormWithValidation

Article ID: Published Date: Last Revised Date: Platform: Control:
3044 12/15/2014 08/27/2015 ASP.NET Web Forms Schedule
Tags:
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.