You are here:
Time Screen Input Component
Let users select available time values from a flow screen.
Required Editions
Configure the Time Component
| Attribute | Description |
|---|---|
| API Name | The API name of the component. An API name can include underscores and alphanumeric characters without spaces. It must begin with a letter and can’t end with an underscore. It also can’t have two consecutive underscores. |
| Default Value |
Pre-populated value for the component.
If the associated screen isn’t run or the conditions for component visibility
aren’t met, the stored value of the component is null.
The time value appears in the running user’s locale format.
|
| Disabled | If set to true, the user can’t modify the value. The default value is false. This attribute accepts a resource with a Boolean value. |
| End Time | The latest time that the running user can select. Must be later than Start Time. |
| Info Text | Give your users more context with this screen component. The text you enter is available in an info bubble next to the component. |
| Label | The text that appears with the screen component that tells the running user how to use it. |
| Out-of-Range Error Message | The error message that appears when the running user enters a time outside the range defined by Start Time and End Time. Leave this field blank to show the default error message. |
| Placeholder Text | Text that appears in the field when it’s empty. Use placeholder text to give users a hint about what to enter in the field. This attribute accepts a resource with a single value. The value is treated as text. |
| Read Only | If set to true, the user can’t modify the value, but the user can copy it. The default value is false. This attribute accepts a resource with a Boolean value. |
| Required | If set to true, the running user must enter a value. The default value is false. This attribute accepts a resource with a Boolean value. |
| Start Time | The earliest time that the running user can select. Must be earlier than End Time. |
| Time Interval | The number of minutes between selectable times. The minimum value is 5 minutes. For example, an interval of 30 shows times such as 9:00 AM, 9:30 AM, and 10:00 AM. |
Set the Component Visibility
Specify the logic that determines when the flow displays the component.
| Option | Description |
|---|---|
| When to Display Component | Configure when the component is displayed by using conditional logic. You can set the components to:
|
Validate Input
Provide a formula that evaluates whether what the user entered is valid and the error message to display if invalid.
| Option | Description |
|---|---|
| Error Message | Specify the error message that appears below the component if the user enters an invalid value. |
| Formula | Provide a formula expression that returns a Boolean value. If the formula expression evaluates to true, the input is valid. If the formula expression evaluates to false, the error message appears below the component. If the user leaves the field blank and the field is required, the flow shows the default error message and not your custom error message. |
Specify the Behavior of Values on Revisited Screens
Specify what this component does when a user enters a value, navigates to a previous screen, and then returns to the screen with this component.
