Expand my Community achievements bar.

SOLVED

Time Selector

Avatar

Level 3

Hi Everyone,

Easy question...I hope.

If I put in a Date/Time field and run the form, it gives me a really nice selector for choosing the date.

Is there any way to get a nice selector mechanism so that the user can choose the time...rather than typing it?

Thanks All

1 Accepted Solution

Avatar

Correct answer by
Level 4

Hello,

There is no selector mechanism available for the Date/Time field.

There is not build in function to pick up a time.

You can create a time field, that updates the time every time.


So it works similar like a timestamp.


Put this FormCalc script into the layout:ready event of the field.

$ = Num2Time(time(), "HH:MM:SS")

Thanks,

Debadas.

View solution in original post

1 Reply

Avatar

Correct answer by
Level 4

Hello,

There is no selector mechanism available for the Date/Time field.

There is not build in function to pick up a time.

You can create a time field, that updates the time every time.


So it works similar like a timestamp.


Put this FormCalc script into the layout:ready event of the field.

$ = Num2Time(time(), "HH:MM:SS")

Thanks,

Debadas.