2 Replies Latest reply on Nov 15, 2009 2:08 PM by try67

    Form Field Common Properties

    Jim MacD Level 1

      How can Form Field Common Properties be changed? After a form reset, I want to change a Form Field Common Properties to 'Visible but doesn't print'.

        • 1. Re: Form Field Common Properties
          gkaiseril MVP & Adobe Community Professional

          You can either change each field individually if each field is uniquely named or use the top hierarchal name for fields named using the hierarchical naming structure.


          If it is every field that needs to be changed, you can obtain the entire list of filed names through Acrobat's JavaScirpt 'getNthFieldName' method and the number of fields using the 'numFields' propery of the doc object.



          Enumerate through all of the fields in the document.


          for (var i = 0; i < this.numFields; i++)

          console.println("Field[" + i + "] = " + this.getNthFieldName(i));


          Yoproperlyu can modify the above script to set the field's 'display' property rather than print the field name to the console.

          1 person found this helpful
          • 2. Re: Form Field Common Properties
            try67 MVP & Adobe Community Professional

            You need to set the field's display property to display.noPrint