This Youtube video was the closest I got to coming right: Adobe Acrobat DC Dynamic Stamp Tutorial - YouTube
I inserted the following script, but it had issues with the first two lines of script and it didn't seem to like the hashtag either:
var cAsk = “Enter a name”;
var cTitle = “Document State for Stamp”;
(event.source.stampName == “#templatename”))
event.value = app.response(cAsk, cTitle);
Thanks in advance!
You must only use straight quotes in your code, not curly ones.
I would agree that the quotes do not look like ASCII quotes and should be changed.
What are the error messages?. Do you know for sure that "#templatename" is the name of your stamp?
You'll find explicit instructions here for finding the Stamp folders on both Mac and Windows. Mac does a good job of hiding them.
Thanks guys! I copied the straight codes from another piece of code and that seems to have fixed the error message that kept popping up.
With regards to the stamp name, I just inserted that name into my question so that people knew that that's what I was intending to insert into that space
What keyboard layout do you use? In the English ones it should come out as straight quotes when you use a plain-text editor.
On a US keyboard the quote marks (single and double) are on a key next to Enter. On a UK keyboard, double quote is shift+2.
Curly quotes usually sneak in when a text has passed through a word processor (e.g. with copy & paste) but some web samples will also show them. Bear in mind that a funny thing could also have happened to your quotes on the way to the forum.