Custom Time Incrementation
- 12 Mar 2021
- 1 Minute to read
- Print
- DarkLight
Custom Time Incrementation
- Updated on 12 Mar 2021
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Example Lab Article
While Example Lab projects are resources for public use, articles and assets are not actively maintained. Screenshots and features are from the specified version below. These references may become dated as new versions are released.
Overview
Example Lab Details | |
Version | 6.9.2 |
Root Folder | Example Lab - Time Picker |
Modules | None |
Dependencies | None |
This Example project demonstrates how to restrict user time input to specified increments.
Explanation
This project uses a Form and two drop-down lists to gather user input for the time. The user will be restricted to select only from the options in the drop-down list which can be pre-populated with any Increment. In this example, the minutes are in increments of 30 so the only two options for the minute portion of the time input are 00 and 30. These values can be changed by going into the Form editor and changing the static list value for either the hour or minute drop-down list. After the user has submitted the Form the input is passed into the Set Time on Date step. This step converts the string input into Date/Time format.
Reference Articles
Project Download
The examples attached were developed to be instructional and were not developed as officially supported components. For more information or to engage our service team to develop fully supported, production quality solutions, please contact services@decisions.com. Import the project below to a Decisions environment on version 6.9.2 or later using our Importing/Exporting article.
Was this article helpful?