Skip to main content
Known Participant
October 24, 2016
Question

Dynamic Stamp with dropdown

  • October 24, 2016
  • 2 replies
  • 684 views

Hello,

I am looking for a sample source code for a dynamic stamp using dropdown to get the idea how it should be built... anybody has any idea to guide me toward it.

Regards,

Jeff P.

This topic has been closed for replies.

2 replies

Karl Heinz  Kremer
Community Expert
Community Expert
October 24, 2016

Take a look at this tutorial: https://acrobatusers.com/tutorials/print/dynamic_stamp_secrets

For more complex user interfaces (e.g. a dropdown control), you will need a custom dialog, which adds another level of complexity to your stamp project. Take  look at the sample code in the Acrobat JavaScript API documentation: Acrobat DC SDK Documentation - App.execDialog() 

Inspiring
October 24, 2016

The stamp itself doesn't really need a dropdown, but you can create a custom dialog that includes a dropdown when prompting the user to enter some data to include in the stamp. If you do a Google search with terms like "Acrobat dynamic stamp custom dialog JavaScript dropdown" you should find enough examples to get you started.