• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Dynamic stamp not picking up identity name

New Here ,
Apr 13, 2020 Apr 13, 2020

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.

TOPICS
Acrobat SDK and JavaScript

Views

1.9K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 27, 2020 Apr 27, 2020

Copy link to clipboard

Copied

LATEST

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

 

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines