13 Replies Latest reply on Dec 13, 2016 9:24 AM by gkaiseril

    Open PDF Form before running Document Level scrip


      I have this Code in a document level script. The problem I am encountering is that this question box shows up before the actual form loads. I need to ensure that the form is blank before this pops up and before any other script is run. I cant fiqure this out and can use some help



      var vButton = app.alert({  
      cMsg: "Do you want to advance the report number?", 
      cTitle: "A message from Dan Sajdak",   nIcon: 2, nType: 3  });
      if ( vButton == 4  )

      //Increase Reprt Number
      this.getField("REPORT NUMBER").value ++ ;
      this.getField("REPORT NUMBER").defaultValue = this.getField("REPORT NUMBER").value ;