Numitems; Password; Print; Readonly - Adobe ACROBAT FORMS JAVASCRIPT OBJECT Specification

Adobe acrobat version 4.0
Table of Contents

Advertisement

This property allows you to access the fully qualified field name of the field as a string object.
var f = this.getField("MyField");
console.println(f.name);

numItems

Type: Integer
The number of items in the combo or list box.

password

Type: Boolean
This property causes the field to display asterisks for the data entered into the field. Upon
submission, the actual data entered is sent. Fields that have the password attribute set will not
have the data in the field saved when the document is saved to disk.

print

Type: Boolean
This property determines whether a given field prints or not. Set the print property to true to
allow the field to appear when the user prints the document, set it to false to prevent printing.
This property can be used to hide control buttons and other fields that are not useful on the
printed page.
var f = this.getField("MyField");
f.print = false;
This property has been superseded by the

readonly

Type: Boolean
This property sets or gets the read-only characteristic of a field. If a field is read-only, the user
can see the field but cannot change it.

required

Type: Boolean
Acrobat Forms - JavaScript Object Specification
Fields: Combo & Listbox
Fields: Text
Fields: All
display
property and its use is discouraged.
Fields: All
Fields: All but Button
Access: R
Access: R
Access: R/W
Access: R/W
Access: R/W
L
43

Advertisement

Table of Contents
loading

This manual is also suitable for:

Acrobat forms javascript object specification

Table of Contents