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: