2 Replies Latest reply on Oct 20, 2013 6:46 PM by George_Johnson

    Help with replacing special characters and how/where to put the javascript...

    NgahuiaR

      Hey there

      A while ago I added javascript to some parts of my PDF around the use of dates and phone numbers, I now have Acrobat 11, and I am at a loss of how to add a new javascript (i cant remember at all) the code I have is

      if (!event.willCommit) {

       

          event.change = event.change.replace(/\, "-");

       

      }

       

      and it does not appear to be working, but if the code is right, then I am guessing I am putting it in the wrong place.

       

      Any help would be awesome.

       

      Cheers