Objects and properties for static PDF forms

Here is the list of scripting objects that form authors can use to make changes to fields in static PDF forms in Adobe Reader. For more information about scripting objects, see Scripting Objects .

Object

Description

border

Describes the border surrounding an object

color

Describes a unique color on an object

fill

Applies a color and optional rendered designs to the region enclosed by an object

Here is the list of scripting properties that form authors can change for fields in static PDF forms in Adobe Reader.For more information about scripting properties, see Scripting Properties .

Property

Description

Syntax

access

Controls user access to the contents of a container

SOMexpression . access = " open | readOnly|protected "

fontColor

The font color value for the text

SOMexpression . fontColor = " [0-255], [0-255], [0-255] "

hAlign

Specifies the horizontal text alignment

SOMexpression . hAlign = " left | center | right "

maxChars

Specifies the maximum number of characters that this text value can enclose

SOMexpression . maxChars = " 0 | integer "

maxLength

Specifies the maximum (inclusive) permitted length of the content or -1 to indicate that no maximum length is imposed

SOMexpression . maxLength = " 0 | integer "

multiLine

Specifies whether the text may span multiple lines

SOMexpression . multiLine = " 0 | 1 "

presence

Specifies the visibility of an object's value

SOMexpression . presence = " visible | invisible|hidden "

textEntry

Determines whether a user can type a value into a drop-down list

SOMexpression . textEntry = " 0 | 1 "

// Ethnio survey code removed