Time visibility
See also: Date visibility
Actions – Abstract
The Time visibility action displays or hides the time in a Date/Time element at runtime. This element can also be a component in a Date range.
The Time visibility action displays or hides the time in a Date/Time element at runtime. This element can also be a component in a Date range.
A Target element of the type Date/Time 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 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 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 element, it should be considered 'undefined'. Then, no time should be displayed in the element and instead a Button labeled tbd (to be determined, i.e. 'not yet defined') should appear next to it. Clicking this Button, should make the time reappear in the Date/Time element so that a value other than 00:00 can be entered.
Runtime example:
Configuration:
|
Two behaviours are set up for the Date/Time element as shown on the left:
|