The CreatorCon Call for Content is officially open! Get started here.

Manipulating a Formatter

amsko
Kilo Explorer

The Resource management plugin has a functionality to add events to your calendar. This event page writes records to the resource_event table. The form contains a Schedule Date Range Selector formatter with the schedule_date_range.xml macro

Issue 1. I am not able to find this XML in my UI Macros module. Is this because this is an OOB macro?

Issue 2. I need to be able to do some UI customization via Client script or UI policy that when the Type is selected as Time Off, the All Day checkbox should be checked automatically. But since the All Day checkbox is a part of the above mentioned fomatter I am not aware of how to access it via a script. If I add the actual field called All day separately in the form, the client script works.

Adding a screenshot of the event page:

Any help would be sincerely appreciated.

Formatter.png

5 REPLIES 5

Stan5
Tera Contributor

And from where I can see the full UI Macro schedule_date_range.xml