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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

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

The following steps show how to validate the fields added within the Schedule Custom Appointment window.


Step 1: Create Schedule sample with the Custom Appointment window by referring to the following links.

Sample Location: http://js.syncfusion.com/demos/web/#!/azure/schedule/CustomWindow

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


Step 2: Create the necessary customization Style class, and add it to the required fields within the Custom appointment window for validation purpose as follows.





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:


Article ID: Published Date: Last Revised Date: Platform: Control:
3040 12/12/2014 08/27/2015 JavaScript ejSchedule
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Please sign in to access our KB

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon 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.Close Icon