Skip to main content
Participant
July 23, 2019
Question

How to view the javascript for Adobe Acrobat Pro DC dynamic stamps?

  • July 23, 2019
  • 2 replies
  • 8908 views

How to view the javascript for Acrobat DC dynamic stamps?

I've tried multiple times to create a dynamic stamp that will place the date and time the stamp is applied to the stamp.

I have been able to get the stamp to show the time the stamp was originally created but any time the stamp is placed,

it is the same date and time every time.

I want the date to be static after is is placed but I need it to be dynamic WHEN it is placed.

All the Dynamic Stamps in Adobe Acrobat Pro DC do exactly what I want my stamp to do.

How can I view the code associated with a particular stamp that comes with Adobe Acrobat Pro DC?

PLEASE advise!!

Thanks!

This topic has been closed for replies.

2 replies

DaveTheVoice
Participant
January 28, 2022

I have created a dynamic stamp and it does work perfectly.  What I am trying to do now is instead of the script asking for the user to enter thier last name, I want it to perform the digital certificate signature, just as if they had a signature feild (click, and sign).

 

Here is the code I currently use in the "By" field:

var cAsk = "Enter Last Name";
var cTitle = "Document State For Stamp";

if(event.source.forReal &&
(event.source.stampName == "#stamp1"))
{
event.value = app.response(cAsk, cTitle);
}

try67
Community Expert
Community Expert
January 28, 2022

That's not going to work, as the stamp is flattened when you apply it, so the Signature field will just convert to a static image, not a real Digital Signature.

Bernd Alheit
Community Expert
Community Expert
July 23, 2019
CadRatAuthor
Participant
July 23, 2019

I have the console open and I don't see anything that I can view.

How do I get the Javascript for the stamp to show up in the console?

Bernd Alheit
Community Expert
Community Expert
July 23, 2019

You must open the document with the stamp.