5 Replies Latest reply on Mar 29, 2011 7:52 PM by Jo_2005

    Adding Digital Signature Fields to Multiple Pages in a Document

    Jo_2005 Level 1

      Hello,

       

      I have a batch processing java script which will place digital signature fields in a drawing.

       

      Sometimes the drawing could have multiple pages and the script needs to place the digital signature fields onto each page.

       

      The problem with the script I have is that the digital signature fields are only appearing on the first page.

       

      Can anyone please provide assistance with modifying my script so that the digital signature fields appear on every page?

       

      // Drawing signature field rev 0

      var numpages = this.numPages;
      for (var i=0;  i < numpages; i++) {

      var a = this.addField("Checked", "signature", i, [1783, 174, 1724, 198]);

      var b = this.addField("Designed", "signature", i, [1783, 149.5, 1724, 173.5]);

      var c = this.addField("Design App", "signature", i, [1783, 125, 1724, 149]);

      var d = this.addField("Proj App", "signature", i, [1783, 101, 1724, 125]);

      }

       

      Thanks very much.