These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Time picker

jaspoe
Registered: Mar 31 2010
Posts: 14
Answered

Hi all,

I've got the date field worked out wonderfully, but is there something similar to be able to pick a time in the same way? I'm building a form for change requests, and date and time is required. Is there something I can add or script to make a simple field, similar to the calendar picker? I can't seem to find much in the way of picking time, and I have just started plaing with LCD. Any help is greatly appreciated!

Thanks!

My Product Information:
LiveCycle Designer, Windows
radzmar
Expert
Registered: Nov 3 2008
Posts: 1202
There is not build in function to pick up a time.

You can create a time field, that updates the time every time the users made a change in the form.
So it works similar like a timestamp.
Put this FormCalc script into the layout:ready event of the field.

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

radzmar
LoveCycle Blog
Documents you need:
LiveCycle Designer ES2 Docs

jaspoe
Registered: Mar 31 2010
Posts: 14
Hi radzmar, I'm really looking for something a user can select, like a start time and stop time for example, kind of like an outage time. I could leave it as a field that needed to be filled in, but wasn't sure if there was an easy way to get a time picker like the date picker. Thanks!
radzmar
Expert
Registered: Nov 3 2008
Posts: 1202
You can use a drop down list filled with the times in 15 minutes steps for example.

radzmar
LoveCycle Blog
Documents you need:
LiveCycle Designer ES2 Docs

jaspoe
Registered: Mar 31 2010
Posts: 14
That works, in fact that's what I've done for now. Thanks for all the tips!

Jason