Solved

Adobe Dynamic Stamp - Need help with user input fields

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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Part One of the two-part Q&A series with MalwareTech.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Introduction to Processes

617 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