User guide

138 ©Nitro
Field object
Represents a PDF form field, and this object contains methods and properties that provide a way to
modify form fields (like you would visually with the form field tools) via JavaScript code.
Example: Changes a hidden field to be visible.
var oField = this.getField("hiddenFieldName");
oField.display = display.visible;
Properties
alignment
borderStyle
buttonAlignX
buttonAlignY
buttonFitBounds
buttonPosition
buttonScaleHow
buttonScaleWhen
calcOrderIndex
charLimit
comb
commitOnSelChange
currentValueIndices
defaultStyle
defaultValue
doNotScroll
doNotSpellCheck
display
doc
editable
Nitro Pro 9 - User Guide