Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Auto populate a date field after signing

Avatar

Avatar
Level 1
jayek63371735
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
jayek63371735
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
jayek63371735
Level 1

05-01-2018

I have livecycle ES4 and would like to auto populate a document after digitally signing. I am a newbie to javascript and relatively new to LiveCycle.

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar
Validate 1
Level 4
MinusZero
Level 4

Likes

30 likes

Total Posts

326 posts

Correct Reply

54 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 25
Boost 10
View profile

Avatar
Validate 1
Level 4
MinusZero
Level 4

Likes

30 likes

Total Posts

326 posts

Correct Reply

54 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 25
Boost 10
View profile
MinusZero
Level 4

07-01-2018

If you change the document after signing, it will invalidate the signature.

By default a signature will lock all the fields, you will need to uncheck the 'Lock the fields after signing' checkbox in the properties tab to change a field.

The other option is to put your code for the date in the PreSign event for the signature object, that way you will update the field before signing but will be still valid and locked after signing.

The javascript code for entering today's date is:

this.resolveNode("DateTimeField1").rawValue = util.printd("yyyy-mm-dd", new Date());