Categories | Question details Back To List | ||
Required Fields or Default values in lightbox for Units in weekly view I'm using shared events successfully. At the moment, I have a select drop down list configured on the lightbox for the Unit Name. When I use the Unit View, this field correctly defaults to the Unit I have created the event on. On the week view, the field is by default empty and I can save events without setting this field, but as this means the event is not associated with any Unit, I want to stop users from forgetting to complete this field. Is there a way I can make a field required before allowing the record to be saved? Alternatively, is it possible to set a default value? thank you, Rose Answer posted by Stanislav (support) on Nov 11, 2009 10:26 >>Alternatively, is it possible to set a default value? scheduler.attachEvent("onEventCreated",function(id){ scheduler.getEvent(id).some_property = default_value; return true; }) |