Copy link to clipboard
Copied
I am attempting to modify a custom stamp so that instead of pulling the date from the system [i.e. new Date()], it prompts the user to input a date string and then displays the input on the stamp. I have already reviewed the numerous posts by Karl Heinz Kramer and Thom Parker to no avail; they all use the system date in their examples. They also recommend purchasing books, which is overkill for a simple problem, such as this.
I copied the "Recieved" stamp from the Dynamic.pdf file, and I can change everything other than the date that will appear on the stamp. How can I modify this stamp to allow the user to input a date rather than using the system date? Here's the default Acrobat-produced code for the stamp:
event.value = (new Date()).toString();
AFDate_FormatEx("mm-dd-yyyy");
event.value = "Received on: " + event.value;
Have something to add?
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more