Is there a way to use Office hour field widget with custom form?

Comments

johnv’s picture

Version: 7.x-1.3 » 7.x-1.x-dev
Category: Feature request » Support request
Status: Active » Closed (works as designed)

Office_hours adheres to the Form API and Field API, so this should be no problem.
Please explore office_hours_field_settings_form() and office_hours_field_widget_form().