16 Replies Latest reply on Nov 30, 2012 1:40 PM by jgrafton@mcclone

    Dynamic Stamp not pulling in Identity


      Using Adobe Acrobate 10 Standard on a Windows 7 system


      I am creating a custom stamp.  I have gone in and copied the javascript from the Dynamic.pdf file located here C:\Program Files (x86)\Adobe\Acrobat 10.0\Acrobat\plug_ins\Annotations\Stamps\ENU and pasted it into my custom pdf file with the stamp I want to use.  When I go and load up the stamp and try using it, it is simply stamping in "correct time & date".  It is not inserting the name or "By foozle" or "By [Identity]" as I want it / need it to.  I cannot get this to work where it uses my "Identity" to replace the place holder "foozle".  Please let me know what I'm doing wrong.  Here is the script I'm using:




      event.value = (new Date()).toString();

      AFDate_FormatEx("h:MM tt, mmm dd, yyyy");

      event.value = "By " + ((!identity.name || identity.loginName != (event.source.source || this).Collab.user) ? (event.source.source || this).Collab.user : identity.name)

      + " at " + event.value;



      The only thing I am modifying in the "Text Field Properties" is the "Name" and changing the text color to black.  Yes, I have my identity established in Acrobat.