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
Fields: Combo & Listbox
Access: R
The number of items in the combo or list box.
password
Type: Boolean
Fields: Text
Access: R
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
Fields: All
Access: R/W
L
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
display
property and its use is discouraged.
readonly
Type: Boolean
Fields: All
Access: R/W
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
Fields: All but Button
Access: R/W
Acrobat Forms - JavaScript Object Specification
43
Index Bookmark Pages Text
Previous Next
Pages: Index All Pages
This HTML file was created by VeryPDF PDF to HTML Converter product.