Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Dynamic Stamp with dropdown

Participant ,
Oct 23, 2016 Oct 23, 2016

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.

TOPICS
Acrobat SDK and JavaScript , Windows
654
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 24, 2016 Oct 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 24, 2016 Oct 24, 2016
LATEST

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() 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines