Allows to select certain time intervals from a dropdown
as an alternative to direct input into a
Adheres to user preferences in time formats set through
TimeField API, which by extension supports user preferences
As an isolated field:
:::php $field = TimeDropdownField::create('MyTime', 'My Time Field');
As part of a
DatetimeField (requires SilverStripe 3.1):
:::php $datetimeField = DatetimeField::create('MyDateTime', My Date and Time Field') ->setTimeField(TimeDropdownField::create('MyDateTime[time]'));
interval: Spacing in minutes between options (Default: 60)
Note: Since the field extends
TimeField, most configuration happens in there.
Thanks to Air New Zealand for sponsoring and contributing to this module!
Module rating system helping users find modules that are well supported. For more on how the rating system works visit Module standards
Score not correct? Let us know there is a problem