3 Replies Latest reply on Jun 9, 2017 6:16 AM by nevilley79498395

    Adobe triggers not working correctly

    nevilley79498395

      Hi

       

      I generated an interactive PDF using Phantom. I have a short script to enter the current date when clicking in a field. The triggers can be any of Up, Down, etc but I have used MouseUp.

       

      This works just fine in a Foxit reader. BUT, when opening the form in Adobe Acrobat XI, the action only triggers on the NEXT click after my initial click in the date field, no matter whether this next click is in another field or in open space.

       

      My code is :

       

      var f = this.getField("RecvdByDate");

       

      f.value = util.printd("dd mmm yyyy", new Date());

       

      Thanks in anticipation