Copy link to clipboard
Copied
I want to add a date in the PDF so that it can be automatically updated to the date of that day every time it is opened
Can anyone help? I have tried many times per the comment from the community, but it didn't work.
I may need detailed steps.
Copy link to clipboard
Copied
Create a field called "Today" and enter the following document level script:
this.getField("Today").value=util.printd("mm/dd/yyyy", new Date());
Copy link to clipboard
Copied
Create a field called "Today" and enter the following document level script:
this.getField("Today").value=util.printd("mm/dd/yyyy", new Date());
Copy link to clipboard
Copied
Thank you. I added a text box, and the date has been shown correctly.
I have another question. I don't want the bodors and filled color of the text box shown.
I try to change to NO COLOR, it seems fail to change. It still show a light blue background color.
Copy link to clipboard
Copied
Set the field as read-only.
Copy link to clipboard
Copied
It didn't show the filled color when I printed it out. Looks good.
Copy link to clipboard
Copied
Find more inspiration, events, and resources on the new Adobe Community
Explore Now