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.

Hidden and required options in Appointment window

Thread ID:

Created:

Updated:

Platform:

Replies:

129160 Mar 1,2017 12:09 PM Mar 3,2017 01:17 AM ASP.NET MVC 3
loading
Tags: Schedule
Marcelo Fernandes
Asked On March 1, 2017 12:09 PM

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

Karthigeyan Krishnamurthi [Syncfusion]
Replied On March 2, 2017 07:05 AM

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 


Marcelo Fernandes
Replied On March 2, 2017 01:06 PM

Thanks.

This example with the links help-me a lot.

Karthigeyan Krishnamurthi [Syncfusion]
Replied On March 3, 2017 01:17 AM

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


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

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.

;