Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Adobe Dynamic Stamp - Need help with user input fields

Posted on 2015-01-05
5
Medium Priority
?
957 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

Originally published Entrepreneur.com Booming numbers of freelancing professionals are changing the face of work. In the United States alone last year, the number of workers freelancing grew from 700,000 to 54 million, according to a Freelancers’…
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Where to go on the main page to find the job listings. How to apply to a job that you are interested in from the list that is featured on our Careers page.

721 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