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

Digital Stamp with own information?! (Java Code)

Guest
Mar 30, 2016 Mar 30, 2016

Hi,

I saw a lot of tutroials for how to create a custom digital stamp. For me it wouldnt be a problem toi create a transparent stamp with acutal date. My problem is I need a stamp which asks for informations. i will explain.

I need to put a stamp on a document, with the following information:

Date:

Material:

Acc. No.:

The stamp should be like this if I put it on the pdf, the date should appear, the material and acc no also, but the material and account number should be fields dynamic field which I can edit. I dont know if there is a possibility with java to make a code which asks you for the information. or if I can make right click and then adjust the two fields. I hope there is a possibility.

Best Regards

Lukas

TOPICS
Acrobat SDK and JavaScript
663
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 ,
Mar 30, 2016 Mar 30, 2016

You have to use JavaScript for this. The problem is it takes more than a few lines of code. The script would present the user with a custom dialog like that shown below and then populate the fields of the dynamic stamp. You cannot change the field values after the stamp has been applied. It might be easiest to find someone to program one for you which you can learn from so you can do your own.

dynamicStampDialog1.png

Resulting stamp:

dynamicStampDialog2.png

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
Guest
Apr 01, 2016 Apr 01, 2016
LATEST

Hi George

Could you give me your code and I would customize it to my needs?

Best Regards

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 ,
Mar 30, 2016 Mar 30, 2016

Not Java, please don't call it Java. It is JavaScript (one word). This is important. Java is something else, but looks similar enough to cause confusion. If you have been looking for example or tutorials in using Java you will get a completely different language that won't help you at all.

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