This content has been marked as final. Show 4 replies
In Adobe Acrobat add a field named "Date" and add the following code as 'Document Wil Print' action:
var f = this.getField("Date");
f.value = util.printd("mm/dd/yyyy", new Date());
How do I add field in the PDF Document? My preference is that a field added in the PDF document at creation time and then it converted to the Today's date at print time without user's action.
In Adobe Acrobat (not Adobe Reader) use Tools > Forms > Text Field Tool to add the field.
Bernd, Thanks for your suggestion. May be I will never able to get what I preferred.