This table lists the LiveCycle Designer ES host scripting model properties and methods, and compares them to the equivalent expressions in the JavaScript Object Model in Acrobat.
See also 
Host scripting model properties and methods
app.beep([ nType ])
xfa.host.exportData([ STRING param1 [,
BOOLEAN param2 ] ])
doc.exportXFAData(cPath [, bXDP ])
xfa.host.gotoURL( STRING param1 [,
BOOLEAN param2 ] )
doc.getURL(cURL, [ bAppend ])
xfa.host.messageBox(STRING param1 [,
STRING param2 [, INTEGER param3 [,
INTEGER param4 ] ] ])
app.alert(cMsg [, nIcon [, nType [,
cTitle ] ] ])
xfa.host.print(BOOLEAN param1, INTEGER
param2, INTEGER param3, BOOLEAN
param4, BOOLEAN param5, BOOLEAN
param6, BOOLEAN param7, BOOLEAN
param8)
doc.print([ bUI [, nStart [, nEnd [,
bSilent [, bShrinkToFit [,
bPrintAsImage [, bReverse [,
bAnnotations ] ] ] ] ] ] ] ])
doc.resetForm([ aFields ])
xfa.host.response( STRING param1 [,
STRING param2 [, STRING param3 [,
BOOLEAN param4] ] ])
app.response(cQuestion [, cTitle [,
cDefault [, bPassword ] ] ])

Comparing the host scripting model functionality