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. Image for the cookie policy date
close icon

Hidden and required options in Appointment window

Hi,

- Hidden -
Exist a way to turn some elements in Appointment window hidden? Like for example: all day / recurrency / resource ???

- Required - 
How to turn some elements, like subject, required ?

Thank´s

Marcelo

3 Replies

KK Karthigeyan Krishnamurthi Syncfusion Team March 2, 2017 12:05 PM UTC

Hi Marcelo, 
 
Thank you for contacting Syncfusion support. 
 
We have prepared the sample to hide all-day/ recurrence fields and to validate the subject field which can be download from the below location. 
 
By default, validation support has provided to appointment fields and kindly refer the below links to know more about it. 
 
Kindly refer the below code example used in the sample. 

<Code> 
    $(function () { 
        $.validator.addMethod("customRule", function (value, element, options) { 
            var ptn = /^[a-zA-Z0-9- ]*$/; 
            return ptn.test(value); 
        }, "Special character(s) not allowed in Location field"); 
    }); 
    function onAppointmentWindowOpen(args) { // this function will be called while opening app window 
        this._appointmentAddWindow.find("." + this._id + "parrow").css("display", "none"); 
    } 
</Code> 

Regards, 
Karthigeyan 



MF Marcelo Fernandes March 2, 2017 06:06 PM UTC

Thanks.

This example with the links help-me a lot.


KK Karthigeyan Krishnamurthi Syncfusion Team March 3, 2017 06:17 AM UTC

Hi Marcelo, 
 
We are happy that our solution has fulfilled your requirement. 
 
Please let us know if you need further assistance. 
 
Regards, 
Karthigeyan 


Loader.
Live Chat Icon For mobile
Up arrow icon