Skip to main content
Participant
April 13, 2020
Question

Dynamic stamp not picking up identity name

  • April 13, 2020
  • 1 reply
  • 2536 views

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.

This topic has been closed for replies.

1 reply

ls_rbls
Community Expert
Community Expert
April 27, 2020

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-q5560.aspx  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