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

Single Click Time Stamp

prespares
Registered: Nov 6 2008
Posts: 47
Answered

Hello,

I have a form in which users can track time in/time out for specific tasks related to a project. I would like to improve the form by having the user click on a field and having the time automatically update in the filed. I assume you could do this with a button that populates a field, but can you convert a button to appear as a value?

Thanks!
Joe

My Product Information:
LiveCycle Designer, Windows
radzmar
Expert
Registered: Nov 3 2008
Posts: 1202
I hope I understood your task right.
To show the current time in a field you can use a simple FormCalc script in the enter event of the field.

$.rawValue = Num2Time(time(), "HH:MM:SS")
The time in the field is always updated the user enters the field.

radzmar
LoveCycle Blog
Documents you need:
LiveCycle Designer ES2 Docs

prespares
Registered: Nov 6 2008
Posts: 47
Hi,

Not necessarily the current time, but the time that they will start a task and end a task. I don't want the fields to show the same time.

I currently have the form setup with fields that are user entered.

Joe
gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4308
Have you tried using the script in the 'click' or 'mouseUp' action?

George Kaiser