Time
- Last UpdatedJun 25, 2024
- 5 minute read
Use Time control to select a time in your form.
Properties
The properties for the control are grouped under the following tabs:
Basic
|
Property |
Description |
|---|---|
|
Name |
Name that identifies the control. This value is also used for the label of the control. |
|
XML Node |
XML node mapped to the control. Use this value to map a list to a form and a form to a workflow.
Note: |
|
Description |
Description for the control. |
|
Tooltip |
Message that appears when the pointer hovers over the control. |
|
Default Value |
The default value for the control. Note: The value must be in 24-hour time format. Ensure the value is within the Minimum Value and the Maximum Value. |
Appearance
|
Property |
Description |
|---|---|
|
Enable |
Enable or disable the control.
|
|
Visible |
Show or hide the control.
|
|
Read-Only |
Allow or deny a user to enter a value for the control.
|
|
Label Position |
Position of the label for the control.
Note: |
|
Label-Control Area |
Area occupied by the label and the control in percentage.
Note: |
|
Width |
Width in pixels for the control. The default value is 0. Note: If the value is 0, then the width of the control is set as per the default values. |
|
Retain Space |
Reserve or remove space when the control is hidden.
|
Validation
|
Property |
Description |
|---|---|
|
Mandatory |
Enforce or bypass entering a value for the control.
|
|
Minimum Value |
Minimum time value for the control. The default value is 00:00:00. |
|
Maximum Value |
Maximum time value for the control. The default value is 23:59:59. |
Advanced
|
Property |
Description |
|---|---|
|
On Data Change |
Run a script when value of the control changes. For more information, see scripting guidelines for On Data Change property. |
|
ID |
Reference identification code for the control. This value is automatically generated and cannot be changed. |
|
Time Format |
Time format for the control. For example, hh:mm:ss tt. Use HH for 24-hour time. For more information, see Date and Time Formats. Note: |
|
Time Interval |
Interval between two consecutive time slots to show in the list for the control. The default value is 01:00:00. |
|
Include in Summary |
Allow or deny a user to view the value in the Summary of a Base Form.
Note: |
Scripts
For information about using scripts, see scripting guidelines for Time control.
Note:
- Time value is saved in text format and not in Universal Coordinated Time (UTC) format.
- Time value is in 24-hour time format.
- Minimum Value and Maximum Value properties together specify a range, hence their values cannot be the same.
- However, you can set a value for the Default Value property and then set the Enable property to No to restrict the time to a fixed value.