Skip to main content
Participant
June 16, 2020
Question

Dynamic Stamp asks only once per Document for information

  • June 16, 2020
  • 1 reply
  • 764 views

Hello all,

I'm creating some dynamic stamps in Acrobat. There are no problems with displaying dates, identities etc.

 

But now I'm trying zu create a stamp that asks the user to enter a number that shall be displayed in the stamp. This stamp works great - but only when I use it in a PDF-document for the first time. When I use it again in the same document, I can not enter another number - it automaticly displays the number I entered without asking again. No chance if I delete the first stamp either. It still remembers the number I entered before. If i use the stamp in another PDF-document, it starts again: First use: I can enter the number. If I use it again ... no chance ... *grrr*

 

I'm using this bit of code in Acrobat Pro DC (2020.009.20067), German:

 

var cAsk = "Enter number: ";

var cTitle = "xxx";

if(event.source.forReal && (event.source.stampName == "#stampname"))

{

                event.value = app.response(cAsk, cTitle);

}

 

What's my fault? Could anybody give me a hand? I'd really appreciate it!

Hannes

 

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
June 16, 2020

Strange. Can you share the stamp file with us?

Participant
June 17, 2020

Sure. I hope this works: http://blauland.net/NumberTest.pdf

Thanks for your support!

try67
Community Expert
Community Expert
June 17, 2020

Yes, it's happening to me, too. That is very strange indeed. It's as if the calculation script is not being executed at all after the first time. I haven't seen this happen before.

How did you create this stamp, exactly?