Smart Date Field

The Smart Date field is part of a the Smart Date module. The modules documentation is available on the Drupal website https://www.drupal.org/docs/contributed-modules/smart-date. The screenshot below depicts the default state when creating an event. The date will auto fill with a date a week from now and enter the current time with a default duration of 1 hour.


Instructions

For editing or creating an Event.

All Day Events

For events that last all day.

  • Select the All day checkbox. The time and duration fields will automatically disappear

  • For All day events that span multiple days, select the appropriate frequency in the Repeats field, see the Repeating Events section of this article for more information

  • Select Add another item to add another event instance

  • To remove an instance click the X icon vertically centered on the right hand side

Duration Events

The configured event duration are set for a half hour, hour, hour and a half and two hours.

  • Select a Start date and time

  • Select the Duration

The End time will auto populate with a correct entry when you select or change the Duration. Select Custom in the Duration field to manually enter an event End time.

  • Select Add another item to add another event instance

  • To remove an instance click the X icon vertically centered on the right hand side

Repeating Events

  • To set a specific number of repeats, change the Ends drop down to After and enter the number of occurrences in the times box

  • Expand the Advanced accordion to select specific days to repeat on

  • Expand the Restrict to specific hours accordion inside of the Advanced accordion to select hours to include

The example below sets a repeating 1 hour event at 1PM, 3PM, and 5PM every Monday during the Month of June 2022.

Managing Event Instances

  • Select the Manage Instances button

The button is only available while editing an already created event.

Override

  • Select Override in the Operations column in the event instance row you’d like to modify

  • Make desired changes to event instance and hit the Save button

Remove

  • On the Override button in the Operations column, click the â–¼ for the event instance row you’d like to remove

  • Select Remove Instance

  • Drupal will ask if you are sure, if you are, click the Remove Instance button or Cancel if you are not

 

Â