Skip to main content
pauld82451891
Participant
March 18, 2019
Answered

Cannot undo dynamic stamp input after PDF has been saved

  • March 18, 2019
  • 1 reply
  • 829 views

For context, i created a dynamic stamp with some javascript that allows you to input text on a stamp before its place (I.e a name or a date). An issue I've run into while using the stamp is that when you save the PDF you're stamping in, the text you input into the stamp cannot be undone. I've deleted the stamp from the drawings and tried applying it again but the previous text I entered keeps reappearing, no javascript prompt asking me to change it. Is this something that can be fixed within the document? The only way I can get around it is to start over with a PDF that hasn't been saved with a dynamic stamp attached to it. The only issue is that sometimes a backup isn't a available - As I said, just wondering if there's a work around to fix this in the original PDF document.

Thanks,

Paul

This topic has been closed for replies.
Correct answer Karl Heinz Kremer

Without seeing your stamp, it's hard to accurately diagnose the problem, but chances are that the script is not getting executed every time you place the stamp, but only the first time after you restart Acrobat. This is controlled by the stamp's internal name: If it starts with a "#", then that is a signal for Acrobat to execute the stamp script every time you place the stamp. Chances are you left that out, which would explain the behavior your are seeing.

1 reply

Karl Heinz  Kremer
Community Expert
Karl Heinz KremerCommunity ExpertCorrect answer
Community Expert
March 18, 2019

Without seeing your stamp, it's hard to accurately diagnose the problem, but chances are that the script is not getting executed every time you place the stamp, but only the first time after you restart Acrobat. This is controlled by the stamp's internal name: If it starts with a "#", then that is a signal for Acrobat to execute the stamp script every time you place the stamp. Chances are you left that out, which would explain the behavior your are seeing.

pauld82451891
Participant
March 19, 2019

This worked, thank you!