1 Reply Latest reply on Feb 16, 2009 1:28 PM by Patrick Leckey

    Creating Array

      I'm very new to both Acrobat and to scripting, but I'm a quick learner.
      I have a pdf with 8 pulldowns, each has options 0, 2 threw 5. What I want to do is search each pulldown and tally how many times each number is used. These tallies will go into individual text fields. The pulldowns results will never be the same.

      For example:
      pd1 = 4
      pd2 = 5
      pd3 = 5
      pd4 = 2
      pd5 = 3
      pd6 = 3
      pd7 = 2
      pd8 = 5

      In tf1, number of occurances of 5 (= 3)
      In tf2, number of occurances of 4 (= 1)
      in tf3, number of occurances of 3 (= 2)
      in tf4, number of occurances of 2 (= 2)
      in tf5, number of occurances of 0 (= 0)

      What is the best way to write this.

      Thanks.