Copy link to clipboard
Copied
Ill try to keep this short. I have a stamp that I need to add to multiple pages on a document (and will again in the future). The stamp has 3 locations for a check box, rather than going page by page and inserting a check on the stamps, I want to incorporate the check box into the stamp when it is placed (dynamic stamp).
What I want to do is place the stamp on page one, and have a dialogue box ask for a value ("yes" "no" or "maybe")...and after entering that value the stamp is placed on the page with the corresponding check box selected.
I have been able to create a pop up asking for the value, but have not been successful with linking the entered value to the check boxes. Anyone know a way to do this? Below is the javascript I am using to initiate the pop-up:
var cAsk = "Response:" ;
var cTitle = "Document State For Stamp ";
if(event.source.forReal && (event.source.stampName == "#c7Qyko5Do_aY5ymhEV0Y0A"))
{
var cMsg = app.response(cAsk, cTitle);
cMsg;
event.value = cMsg;
event.source.source.info.DocumentState = cMsg;
}
Thanks!
EDIT: Maybe a better way to describe what I really want: What i want is to drop a stamp on a sheet and when I do so, I want it to ask me which box I want to check, and to have the stamp then placed on the sheet with that button selected.
Copy link to clipboard
Copied
You can do this, but are getting into more advanced Stamp Scripting. You can find loads of information on exactly this topic here:
and here:
Alerts, Popups, and Other Devices for Interacting with the User
Note that in the second link you'll find two methods for getting checkbox input from the user.
1. Add a checkbox to a popup alert
2. Create a custom dialog.
Copy link to clipboard
Copied
You can do this, but are getting into more advanced Stamp Scripting. You can find loads of information on exactly this topic here:
and here:
Alerts, Popups, and Other Devices for Interacting with the User
Note that in the second link you'll find two methods for getting checkbox input from the user.
1. Add a checkbox to a popup alert
2. Create a custom dialog.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now