Genius123
asked on
Custom Acrobat Stamp
Hello,
I built a custom stamp that prompts me for a number. Here is the code:
So when I go to select the custom stamp, the prompt box appears, but it never allows me to select the actual stamp. Now here's how I can get it to work. If I open the stamp pdf file and leave it in Forms Editing mode, then go back to my other PDF, it allows me to choose the stamp, drop it into workspace, then it prompts me for a number. This works, however, I can't just leave the other PDF stamp file open all the time.
Thanks,
Joel
I built a custom stamp that prompts me for a number. Here is the code:
So when I go to select the custom stamp, the prompt box appears, but it never allows me to select the actual stamp. Now here's how I can get it to work. If I open the stamp pdf file and leave it in Forms Editing mode, then go back to my other PDF, it allows me to choose the stamp, drop it into workspace, then it prompts me for a number. This works, however, I can't just leave the other PDF stamp file open all the time.
Thanks,
Joel
var cResponse = app.response({
cQuestion: "Enter Revision Number",
cTitle: "Revision Number",
cLabel: "Revision Number:"
});
if (cResponse == null) {
event.value = "*NVALID*";
}
else
event.value = cResponse;
ASKER
Hi,
I'm not sure how to get the name of my stamp. Can you please help? I've attached the file.
Thanks for your help.
0FF9-OlEfUEO3Rowo8V4kC.pdf
I'm not sure how to get the name of my stamp. Can you please help? I've attached the file.
Thanks for your help.
0FF9-OlEfUEO3Rowo8V4kC.pdf
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you. That worked perfectly!
The correct way of doing this is by using code like this:
Open in new window
You have to make sure that the stamp name is the same that you use for the page template name. Just in case you don't know, the stamp template name needs to something like this:
Open in new window
Here is a tutorial for creating custom stamps: http://acrobatusers.com/tutorials/dynamic_stamp_secrets