Dynamic stamp not picking up identity name

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, Comment review and collaborate PDF, How to, PDF forms

Views

313

Likes

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

Dynamic stamp not picking up identity name

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, Comment review and collaborate PDF, How to, PDF forms

Views

314

Likes

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
Apr 13, 2020 0
ls_rbls LATEST
Adobe Community Professional ,
Apr 27, 2020

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

 

 

 

Likes

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
Reply
Loading...
Apr 27, 2020 0