--- title: "Time visibility" slug: "freaction-time-visibility" updated: 2026-05-06T09:10:37Z published: 2026-05-06T09:10:37Z canonical: "docs.lobstersoftware.com/freaction-time-visibility" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # Time visibility *See also:* [Date visibility](/v1/docs/en/freaction-date-visibility) > [!NOTE] > **Actions – Abstract** > > The [Time visibility](/v1/docs/en/freaction-time-visibility) action displays or hides the time in a [Date/Time](/v1/docs/en/fre-date-field-vo) element at runtime. This element can also be a component in a [Date range](/v1/docs/en/fre-date-range-vo). The [Time visibility](/v1/docs/en/freaction-time-visibility) action displays or hides the time in a [Date/Time](/v1/docs/en/fre-date-field-vo) element at runtime. This element can also be a component in a [Date range](/v1/docs/en/fre-date-range-vo). ![images/download/attachments/189436769/image-2024-11-5_10-21-18-version-1-modificationdate-1730798477510-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2024-11-5_10-21-18-version-1-modificationdate-1730798477510-api-v2.png) - A **Target element** of the type [Date/Time](/v1/docs/en/fre-date-field-vo) must be linked so that the action appears under **Action type**. - The **Display time** option determines whether the date is displayed (checked) or hidden (unchecked). **NOTE:** If the date of a [Date/Time](/v1/docs/en/fre-date-field-vo) element is not displayed when the time input area is hidden, the element only contracts to a minimum width. However, it remains relevant for validation. If the element uses the **Required field** option or if [Validators](/v1/docs/en/frevalidators) are configured, they will continue to be evaluated although interactive access is no longer possible. If the validation triggers information texts, the field is automatically displayed wide enough for them to be readable. ## Example A portal is used in the field of "intralogistics" to organize the collection of material. The individual "pick-up orders" are initially only scheduled by date. The time when the material will be "Ready for pick-up" is specified later. As long as the time is set to "00:00" in the [Date/Time](/v1/docs/en/fre-date-field-vo) element, it should be considered "undefined". Then, no time should be displayed in the element and instead a [Button](/v1/docs/en/fre-button-vo) labeled **tbd** (*to be determined*) should appear next to it. Clicking this [Button](/v1/docs/en/fre-button-vo), should make the time reappear in the [Date/Time](/v1/docs/en/fre-date-field-vo) element so that a value other than 00:00 can be entered. Runtime example: ![images/download/attachments/189436769/image2020-6-10_15-30-6-version-1-modificationdate-1730798369169-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2020-6-10_15-30-6-version-1-modificationdate-1730798369169-api-v2.png) Configuration: | ![images/download/attachments/189436769/image-2024-11-5_12-7-17-version-1-modificationdate-1730804836919-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2024-11-5_12-7-17-version-1-modificationdate-1730804836919-api-v2.png) | Two behaviors are set up for the [Date/Time](/v1/docs/en/fre-date-field-vo) element as shown on the left: - The first behavior ("timeTBD") is not shown in detail here. It contains no actions and only checks if the value of the [Date/Time](/v1/docs/en/fre-date-field-vo) element contains a time (<>00:00:00.0000). The check result is polled by a [Logical condition](/v1/docs/en/frebehav-logical-check) in the second behavior ("dateTimeSpecial"). --- - The "dateTimeSpecial" behavior is triggered by the **Triggering** **events** [Changed](/v1/docs/en/fretrigger-changed) and [Focus out](/v1/docs/en/fretrigger-focus-out), so that in these cases the layout around the [Date/Time](/v1/docs/en/fre-date-field-vo) element is adjusted according to its value, as desired. --- - The **Behavior type** [Logical condition](/v1/docs/en/frebehav-logical-check) refers to the check from the behaviour "timeTBD", which is only passed, if the date value of the executing element does not indicate a time (different from 00:00:00.000). --- - The **Actions on "true"** are executed if the time is "undefined". Specifically, the [Show element](/v1/docs/en/freaction-show) action displays the **tbd** [Button](/v1/docs/en/fre-button-vo) and the time in the **Target element** is hidden by [Time visibility](/v1/docs/en/freaction-time-visibility) (with the option **Display time** not set). --- - If a time (<>0 o’clock) is specified, the **Actions on "false"** are executed. Specifically, the [Hide element](/v1/docs/en/freaction-hide) hides the **tbd** [Button](/v1/docs/en/fre-button-vo) and the time is displayed in the **Target element** by [Time visibility](/v1/docs/en/freaction-time-visibility) (with the option **Display time** set). **NOTE:** These actions are also configured for the behavior that is triggered when you click the "Today" [Button](/v1/docs/en/fre-button-vo). No details are given here. | | --- | --- |