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

Save Current Date

r00s7a
Registered: Jun 24 2010
Posts: 4

I am designing a form in LiveCycle v 8.2.1 and having some problems getting a date field to function how I would like it to. I used the Current Date from the custom object library to use for my date field, and it works as it should, inserting the current system date in the field. My problem with this is, if a user fills out the form on 1/1/10, digitally signs it and saves it, I want the date to remain at 1/1/10, the date of signing. If I open this form on 1/3/10, the date changes to 1/3/10... I guess as you would expect a Current Date field to do.

Is there a way to lock this field so that when the form is digitally signed, and saved, the date will no longer change to the current date when reopened, but remain the original date that it was last saved? Any help would be greatly appreciated. Thanks.

My Product Information:
LiveCycle Designer, Windows
Bamboolian
Registered: Jul 27 2010
Posts: 48
Hi,

I might be too late, but how about adding a script to fill the signed date at presign event?
Be aware that presign works only with Acrobat 9.0 and up.
r00s7a
Registered: Jun 24 2010
Posts: 4
Yeah, write me a script and make that work!
Bamboolian
Registered: Jul 27 2010
Posts: 48
You simply make the date field read only from the beginning, and write formCalc code like following to the presign event of digital signature field. Date format depends on your date field Patterns.

DateTimeField1.rawValue = num2date(date(),"YYYY/MM/DD")