This section lists support for XML Form Object Model scripting
methods in HTML forms and (deprecated) Guides.
For more information on scripting methods, see Adobe LiveCycle Designer 11 Scripting Reference.
Note: Items marked as not applicable will not generate
an error or cause a script to fail; however, they do not produce
any effect on the rendered form or Guide.
Scripting method
|
Supported in HTML
|
Supported in Guides
|
absPage
|
no
|
no
|
absPageCount
|
no
|
no
|
absPageCountInBatch
|
no
|
no
|
absPageInBatch
|
no
|
no
|
absPageSpan
|
no
|
no
|
addInstance
|
yes
|
yes
|
addItem
|
yes
|
Drop-down lists only
|
addNew
|
no
|
no
|
append
|
no
|
no
|
applyXSL
|
no
|
no
|
assignNode
|
no
|
no
|
beep
|
no
|
no
|
boundItem
|
no
|
Drop-down lists only
|
cancel
|
no
|
no
|
cancelBatch
|
no
|
no
|
clear
|
no
|
no
|
clearErrorList
|
no
|
no
|
clearItems
|
yes
|
Drop-down lists only
|
clone
|
no
|
no
|
close
|
no
|
no
|
createNode
|
no
|
no
|
currentDateTime
|
no
|
no
|
delete
|
no
|
no
|
deleteItem
|
no
|
Drop-down lists only
|
documentCountInBatch
|
no
|
no
|
documentInBatch
|
no
|
no
|
emit
|
no
|
no
|
enumerate
|
no
|
no
|
evaluate
|
no
|
no
|
execCalculate
|
yes
|
yes
|
execEvent
|
yes
|
yes
|
execInitialize
|
yes
|
yes
|
execute
|
no
|
no
|
execValidate
|
yes
|
yes
|
exportData
|
no
|
no
|
first
|
no
|
no
|
formNodes
|
no
|
no
|
getAttribute
|
no
|
no
|
getDelta
|
no
|
no
|
getDeltas
|
no
|
no
|
getDisplayItem
|
no
|
Drop-down lists only
|
getElement
|
no
|
no
|
getFocus
|
no
|
no
|
getInvalidObjects
|
yes
|
no
Note: Guides support XFA 2.8.
|
getItemState
|
no
|
Drop-down lists only
|
getSaveItem
|
no
|
Drop-down lists only
|
gotoRecord
|
no
|
no
|
gotoURL
|
yes
|
no
|
hasDataChanged
|
no
|
no
|
importData
|
no
|
no
|
insert
|
no
|
no
|
insertInstance
|
yes
|
yes
|
instanceCount
|
yes
|
yes
|
isBOF
|
no
|
no
|
isCompatibleNS
|
no
|
no
|
isEOF
|
no
|
no
|
isPropertySpecified
|
no
|
no
|
isRecordGroup
|
no
|
no
|
item
|
no
|
no
|
last
|
no
|
no
|
loadXML
|
no
|
yes
The optional parameters on this
method are not supported in Guides.
This
method is supported only at the root level. You cannot load data
at a subform level.
To save the root level data, use the
following syntax:
var originalData
= xfa.data.saveXML();
To later reload the data, use the following
syntax:
xfa.datasets.loadXML(originalData);
|
messageBox
|
yes
|
yes
|
metadata
|
no
|
no
|
moveCurrentRecord
|
no
|
no
|
moveInstance
|
yes
|
yes
|
namedItem
|
no
|
no
|
next
|
no
|
no
|
open
|
no
|
no
|
openList
|
no
|
no
|
page
|
no
|
no
|
pageContent
|
no
|
no
|
pageCount
|
no
|
no
|
pageDown
|
yes
|
no
|
pageSpan
|
no
|
no
|
pageUp
|
yes
|
no
|
previous
|
no
|
no
|
print
|
no
|
no
|
recalculate
|
no
|
yes
|
record
|
no
|
no
|
relayout
|
no
|
no
|
relayoutPageArea
|
no
|
no
|
remerge
|
no
|
yes
|
remove
|
no
|
no
|
removeAttribute
|
no
|
no
|
removeInstance
|
yes
|
yes
|
requery
|
no
|
no
|
reset
|
no
|
no
|
resetData
|
yes
|
no
|
resolveNode
|
no
|
yes
|
resolveNodes
|
no
|
yes
|
response
|
no
|
no
|
restore
|
no
|
no
|
resync
|
no
|
no
|
saveFilteredXML
|
no
|
no
|
saveXML
|
no
|
yes
|
selectedMember
|
no
|
no
|
setAttribute
|
no
|
no
|
setElement
|
no
|
no
|
setFocus
|
yes
|
no
|
setInstances
|
yes
|
yes
|
setItems
|
no
|
no
|
setItemState
|
no
|
Drop-down lists only
|
sheet
|
no
|
no
|
sheetCount
|
no
|
no
|
sheetCountInBatch
|
no
|
no
|
sheetInBatch
|
no
|
no
|
sign
|
no
|
no
|
update
|
no
|
no
|
updateBatch
|
no
|
no
|
verify
|
no
|
no
|
|
|
|