These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Dynamic Stamp driving me crazy

cvorden
Registered: Aug 15 2011
Posts: 2
Answered

I could really use a little help here. I have read through all of Thom's and Lori's articles on creating dynamic stamps and advanced dynamic stamps and can still not get this thing to work.
 
It is for a construction company that gets its plans in PDF form to review. When they are done reviewing it they want to be able to stamp it with a dynamic stamp that they fill out before it is placed on the pdf.
 
Looks somewhat like this
 
Reviewed Subject to Contract requirements -
Reviewer -
Date -
Project/Location -
Submittal Number -
Spec Section / Drawing Number -
 
I have created the stamp and tried putting some java script in from the exhibit sample pdf but when I go to place it on a pdf it never asks for any user input.
 
Any help would really be appreciated it is driving me nuts.
 
Craig

My Product Information:
Acrobat Pro 9.4.3, Windows
George_Johnson
Expert
Registered: Jul 6 2008
Posts: 1875
It's really hard to tell what's wrong without seeing the code you're using. Are you using a custom dialog or a series of app.response calls to get the user input?
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
The most likely culprit is the stamp name. But before doing anything you need to verify that the code in the stamp is being run. Put this single line of code into the calculation script of a field on the stamp file.

app.alert("My Name is: " + event.source.stampName);

This code will also give you correct Name for the stamp.


Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

cvorden
Registered: Aug 15 2011
Posts: 2
I just copied the code from the example pdf "exhibit" I think you might be right Thom with the stamp name. You would think there would just be a simple code for.. ask this question.. put response on stamp.


thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Accepted Answer
cvorden wrote:
You would think there would just be a simple code for.. ask this question.. put response on stamp.
Well actually, that's the code that I provided. very simple, just paste it into the calculation script of a field on your stamp.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script