How to set default time in time element in fieldset

How can we set default time in time element , suppose i want to set 08:00 by default in time element.

51 Likes

Set the Default Value as 08:00 in the Properties section of Time Element. getVal() function can also be used in Default Value if you want to pick data from any path. The time format must always be in hh:mm


Screenshot from 2023-09-06 14-58-48

38 Likes

Can we show time in HH:MM:SS format also in time element? Through any way?

49 Likes

In vFlow, the Time element shows hh:mm time picker by default
Screenshot from 2023-09-06 17-02-28

39 Likes

If the user specifies hh:mm:ss time in the default value then the time picker will display seconds too.
Screenshot from 2023-09-06 17-07-15

Screenshot from 2023-09-06 17-07-02

38 Likes

Okay @ShraddhaDhoke Thankyou for the info…

44 Likes

@ShraddhaDhoke, I want to restrict the user that he/she should not enter/select the greater than specified time. How can i do that.

8 Likes

@Shubhamkumar1 You can add validation on Time element. This will highlight the Time field in red to indicate that the field is not valid.

Here, Max Time validation of 20:00 is set on the element.
Screenshot from 2023-09-13 21-32-01

35 Likes

Thanks @ShraddhaDhoke. It will helps a lot.

4 Likes