Skip to main content
hecsan-68
New Participant
May 10, 2016
Question

How to create dialog box for Dynamic Stamp

  • May 10, 2016
  • 2 replies
  • 1020 views

Hi, I was able to create a dynamic stamp with javascript in each field.  However, I would like to create a dialog box for multiple fields: Description, Decal#, Serial#, Bldg#.  Then when user click the apply button on this dialog box, the value of the fields will populate the stamp.  My question is how to create a dialog box with Apply button that will populate the fields in the stamp?  Thanks in advance.  I've googled and search forums with no luck.  Please point me to the right direction (what to look for) or webpage that explains this multiple fields in a dialog box, or share a sample code, please.  Thanks.

Hector

This topic has been closed for replies.

2 replies

JR Boulay
Community Expert
May 11, 2016

Hi.

Here are the best tutos ever made about dynamic stamps: PDF Stamp Annotations

Acrobate du PDF, InDesigner et Photoshopographe
Karl Heinz  Kremer
Community Expert
May 10, 2016

The key is the App.execDialog() method. When you look at the API documentation, you will find a number of examples:

Acrobat DC SDK Documentation: App.execDialog()