Skip to main content
This topic has been closed for replies.

1 reply

Karl Heinz  Kremer
Community Expert
March 22, 2019

Take a look at this tutorial for some information about how to create dynamic stamps:

https://acrobatusers.com/tutorials/dynamic_stamp_secrets

To actually provide more information about how to create such a script, we would need to know more about how your stamp is supposed to work. 

nawal kumar
New Participant
March 25, 2019

Hi Karl,

I need a stamp with editable date field and a field where we can add a serial number.

Can you please help me on where i can find the rules for these please.

Thanks in advance.

Naval

Karl Heinz  Kremer
Community Expert
March 25, 2019

Take a look at the first example for the app.execDialog() method: Acrobat DC SDK Documentation

This will create a dialog with three fields: Two that can be changed, and one that is fixed (and shows the date). All you need to do is remove the third read-only field and use different labels for the first two. Even though the data structures that are used for the dialog objects look complex, it's all just JavaScript. You do need to have a pretty good understanding of JavaScript data structures for this to work.

If you want an easy way out (and don't mind paying), there is a dialog editor available at http://pdfscripting.com - in my opinion, it's a good investment, it will save you a log of time.