Enterprise Tookit for Acrobat Products > Mobile > (Android | iOS)

JavaScript for Acrobat Reader Mobile API Reference (iOS)

HOME | Field Class

This object represents an Acrobat form field (that is, a field created using the Acrobat form tool or the Doc addField method). In the same manner that a form author can modify an existing field's properties, the JavaScript user can use the Field object to perform the same modifications.

Item Index

Methods

Properties

Methods

getArray

() Object

Defined in Field.js:115

Gets the array of terminal child fields (that is, fields that can have a value) for this Field object, the parent field.

Returns:

Object:

An array of Field objects.

setFocus

()

Defined in Field.js:139

Sets the focus to this field. This can involve changing the page that the user is currently on or causing the view to scroll to a new position in the document.

Properties

name

String

Defined in Field.js:36

This property returns the fully qualified field name of the field as a string object.

textColor

Object private

Defined in Field.js:100

The foreground color of a field. It represents the text color for text, button, or list box fields and the check color for check box or radio button fields. Values are defined by Color arrays.

type

String

Defined in Field.js:47

Returns the type of the field as a string.

value

Any

Defined in Field.js:59

The value of the field data that the user has entered. Depending on the type of the field, may be a String, Date, or Number. Typically, the value is used to create calculated fields.


© 2013-15 Adobe Systems, Inc. All rights reserved. Use of these APIs including, the download of software, submission of comments, ideas, feature requests and techniques, and Adobe's rights to use such submitted materials, is governed by the Adobe.com Terms of Use and the Adobe Privacy Policy.