Solved

Adobe Dynamic Stamp - Need help with user input fields

Posted on 2015-01-05
5
658 Views
Last Modified: 2015-01-15
I have copied several JavaScript codes but cannot get my stamp to work. I need 4 response boxes that the user will define after the stamp is selected and before the stamp is placed.  I am attaching the stamp and hoping someone can fix it for me and fill in the calculations needed.

The stamp name is at the top of the stamp, but should be deleted before the stamp is finalized.  Thanks for your help.
jW7JvjKqys-8q7rv12GeAB.pdf
0
Comment
Question by:SuzieBennett
  • 3
  • 2
5 Comments
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 40534189
You are using the app.response() method, you can only get one piece of information. You are trying to get four different things from the user, this requires a dialog. Dialogs in Acrobat's JavaScript are quite a bit more complex than just calling a function. Take a look at the App.execDialog() method, it comes with sample code for a number of different dialogs. In your case, I assume that you are just requiring four different input fields that need to be copied to the fields in the stamp.

What you are asking for ("someone can fix it for me") is a bit too much. What I can do is teach you how to do this, but I won't do it for you.

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

Thom Parker (who wrote that tutorial) also wrote "the" book on dynamic stamps: http://www.pdfscripting.com/public/All-About-PDF-Stamps-in-Acrobat-and-Paperless-Workflows-The-Book.cfm
0
 

Author Comment

by:SuzieBennett
ID: 40534538
It sounds like my issue is more complicated than I originally thought it would be. I will order the book and see if I can get the information I need from that.
Thank you for the response.
0
 
LVL 44

Accepted Solution

by:
Karl Heinz Kremer earned 500 total points
ID: 40534622
Actually, everything you need is in the tutorial article, the book just provides a lot more information. The key for you now is to get a dialog constructed that allows for four different input fields. Take a look at the Acrobat JavaScript API documentation and see if you can get started. If you run into problems, let me know.
0
 

Author Comment

by:SuzieBennett
ID: 40550355
I appreciate the vote of confidence. I could not even find the console screen in order to run the script to find the stamp name.  The book should arrive on Friday, so I will try over the weekend.  Cross your fingers for me.
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 40551959
You can open the JavaScript console by using Ctrl-J (or Cmd-J on a Mac). Let me know if you have any other questions.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you want to move up through the ranks in your technology career, talent and hard work are the bare necessities. But they aren’t enough to make you stand out. Expanding your skills, actively promoting your accomplishments and using promotion st…
If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
In this first video of the three-part Xpdf series, we introduce and describe Xpdf, a library containing nine command line utilities that perform various functions on PDF files. We show where the library is located and how to download it, discuss its…
In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now