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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Auto populate a date field after signing


Level 1

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.

1 Reply


Level 7

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());