Except Validation section, you can see the properties’ description in the “Date” element for the “Time” element. The “Validation” section’s properties are described as below:
|Required||Click this check box to configure a validation message on the element. After the user performs the wrong function on the element, the application will raise an error and display the validation message.|
|Min Time||In this field, define the minimum past time that the user can select from the current time. You can define the minimum past time as follows:|
–> Use the SETTIME(“getVal(‘path’)”) method that fetches the minimum past time’s value from the element’s data source.
–> Or, manually enter the minimum past time (for example:- 9:00) in the Min Time field.
|Max Time||In this field, define the maximum future time that the user can select from the current time. You can define the maximum future time as follows:|
–> Use the SETTIME(“getVal(‘path’)”) method that fetches the maximum time’s value from the element’s data source.
–> Or, manually enter the maximum time (for example:- 9:00) in the Max Time field.
|Validation Message||Click this field and then select an ID. The selected ID is mapped to the validation message that you create and configure in the message master module. You can apply the validation message to the following properties:|
1. Min Time
2. Max Time
The application checks and validates the element’s value against the configuration of these properties. If the application fails to validate the element’s value, it raises an error and displays the validation message.
Was this article helpful?