Solved

Adobe Dynamic Stamp - Need help with user input fields

Posted on 2015-01-05
5
733 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
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 fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

820 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