Sunday, June 6, 2010

Disabling a time filed in CRM 4

If you need to disable the date field of the date time field and enable the time field you need to use the below java script to do so.

crmForm.all.Field_Name.Disabled = true;
crmForm.all.Field_Name.all.time.enable();


if you want to disable the time field only you need to use the below javascript.

crmForm.all.Field_Name.all.time.disable();

No comments:

Post a Comment

Retrieving Calendar of a Bookable Resource in Dynamics

There are occasions where we need to retrieve working days and working times of a resource in Dynamics grammatically. This is quite possible...