Solved

Adobe Dynamic Stamp - Need help with user input fields

Posted on 2015-01-05
5
613 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Stuck in voice control mode on your Amazon Firestick?  Here is how to turn it off!!!
With the shift in today’s hiring climate (http://blog.experts-exchange.com/ee-blog/5-tips-on-succeeding-in-the-new-gig-economy/?cid=Blog_031816), many companies are choosing to hire freelancers to get projects completed efficiently and inexpensively…
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 fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

763 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

9 Experts available now in Live!

Get 1:1 Help Now