Time field
The Time field is used to represent time values in documents.
Properties
Setting | Required | Description |
---|---|---|
Label | Yes | The label is used for users of BizzStream. The label is shown in documents left to the value of the field. Labels can always be edited. |
Translation key | No | Can be used to replace the field label with a translation. If set, BizzStream will try find the translation associated with the key set in this field. If no translation can be found, the label set in the Label field will be used. |
Name | Yes | The name is a BizzStream system field. Once the Document Definition is persisted, this field cannot be edited anymore. Unless there are no documents based on this document definition. |
Required | No | By checking the Required-option, you force the user to fill out the field. By not checking this option, the option to fill out the field is to the discretion of the user. |
Minimum Value | No | In this field you can enter the earliest time to be entered into the field. |
Maximum Value | No | In this field you can enter the latest time to be entered into the field. |
Interval | Yes | The interval field allows you to define the number of minutes between the times that can be selected in the picklist. For instance, if you choose to set an interval of 15 minutes, the user can select 00:15, 00:30, 00:45, 01:00 etc. This only applies for desktop. On mobile devices, the user can select any time. Please note that the user is still able to manually choose any time on desktop by typing it in. This action could be enforced with the Enforce Interval checkbox. |
Enforce Interval | No | If this checkbox is checked, then BizzStream will automatically rounds the selected time off to the nearest allowed value (eg. from 00:43 to 00:45 if the interval is 15 minutes). This applies for desktop and mobile devices. |
Initial Value | No | By providing an initial value to the field, upon creation the field or linefield will have this value. This field cannot refer to values placed in other fields. A user/visitor can overwrite this value. |
Initial Placeholder | No | When you provide an initial placeholder, the field will get the value of the field to which the placeholder refers. Users/visitors can update this value. Unlike placeholders, the field will not updated when the field to which the placeholder refers updates. This field can contain BizzStream Expressions referring to other fields. |
Placeholder | No | By providing a placeholder, you ensure that the value of this field is replaced by the value of the field to which the placeholder refers when the referenced field updates. |
How the data is stored
Times are saved in accordance with ISO 8601 (HH:MM) into the database:
timeField:"12:03"