Copy link to clipboard
Copied
I've created a custom stamp with the word PREPARED and two fields, one for identity name and one for date. No matter what I have tried, it is not filling in my name, and I have checked Preferences to make sure my name is present. This is my script:
event.value = "by " + ((!
identity.name | |
identity.loginName !=
(event.source.source | |
this).Collab.user) ?
(event.source.source | |
this).Collab.user :
identity.name)
+ " at " + event.value;
I am using Acrobat Pro DC 2015, and I am only previewing the form right now, until it's ready to copy into the stamps folder.
Copy link to clipboard
Copied
Hey TexasGayla,
Review this tutorial from Thom Parker: https://acrobatusers.com/tutorials/print/dynamic_stamp_secrets/
And his answer here in a similar discussion: https://answers.acrobatusers.com/Help-troubleshooting-an-interactive-dynamic-stamp-q56081.aspx
If you took the script fro here: https://answers.acrobatusers.com/Need-Javascript-for-Adobe-User-name-in-a-text-field-for-a-stamp-q55... You may also want to consult the Adobe Acrobat Javascript Scripting Reference, "Collab Methods", "Collab Object" page 93 and "Identitiy Properties", "Identity Object" in page 282-283