Livecycle

Livecycle

  • Welcome to Adobe LiveCycle Designer ES
  • Introducing Designer ES
  • Getting Started
  • Quick Start Tutorials
  • Using LiveCycle Designer ES
  • Using Guide Builder
  • Scripting
  • Menu, Command, Toolbar, and Dialog Box Reference
  • Sample Form Snippets and Forms
  • Glossary
  • Copyright and trademark notices
  • Livecycle
  • Scripting
  • Scripting Reference
  • Scripting Methods
  • addItem
addItem
Adds new items to the current form field. For example, this method adds new items to a drop-down list.
Syntax
Reference_Syntax.addItem( STRING param1 [, STRING param2 ] )
Parameters
 
param1
A valid string representing the value to display in the field.
param2 (Optional)
A valid string representing the new item’s bound value. If empty, the default value is an empty string.
Returns
Empty
Applies to
 
Model
Object
Form Model
field
Version
XFA 2.1
Examples
JavaScript
DropDownList1.addItem(“Human Resources”);
FormCalc
DropDownList1.addItem(“Human Resources”)

addItem

Livecycle > addItem

  • Welcome to Adobe LiveCycle Designer ES
  • Introducing Designer ES
    • Getting Started
      • Quick Start Tutorials
        • Using LiveCycle Designer ES
          • Using Guide Builder
            • Scripting
              • Scripting Using LiveCycle Designer ES
                • Scripting Reference
                  • About the Object Scripting Reference
                  • Version mapping to XFA
                  • XML Form Object Model Class Hierarchy
                    • Scripting Objects
                      • Scripting Properties
                        • Scripting Methods
                          • absPage
                          • absPageCount
                          • absPageCountInBatch
                          • absPageInBatch
                          • absPageSpan
                          • addInstance
                          • addItem
                          • addNew
                          • append
                          • applyXSL
                          • assignNode
                          • beep
                          • boundItem
                          • cancel
                          • cancelBatch
                          • clear
                          • clearErrorList
                          • clearItems
                          • clone
                          • close
                          • createNode
                          • delete (FormCalc Only)
                          • deleteItem
                          • deleteRecord
                          • documentCountInBatch
                          • documentInBatch
                          • emit
                          • enumerate
                          • evaluate
                          • execCalculate
                          • execEvent
                          • execInitialize
                          • execute
                          • execValidate
                          • exportData
                          • first
                          • formNodes
                          • getAttribute
                          • getDelta
                          • getDeltas
                          • getDisplayItem
                          • getElement
                          • getFocus
                          • getItemState
                          • getSaveItem
                          • gotoRecord
                          • gotoURL
                          • h
                          • hasDataChanged
                          • importData
                          • insert
                          • insertInstance
                          • isBOF
                          • isCompatibleNS
                          • isEOF
                          • isPropertySpecified
                          • isRecordGroup
                          • item
                          • last
                          • loadXML
                          • messageBox
                          • metadata
                          • moveCurrentRecord
                          • moveInstance
                          • namedItem
                          • next
                          • open
                          • openList
                          • page
                          • pageContent
                          • pageCount
                          • pageDown
                          • pageSpan
                          • pageUp
                          • previous
                          • print
                          • recalculate
                          • record
                          • relayout
                          • relayoutPageArea
                          • remerge
                          • remove
                          • removeAttribute
                          • removeInstance
                          • requery
                          • reset
                          • resetData
                          • resolveNode
                          • resolveNodes
                          • response
                          • restore
                          • resync
                          • saveFilteredXML
                          • saveXML
                          • selectedMember
                          • setAttribute
                          • setElement
                          • setFocus
                          • setInstances
                          • setItems
                          • setItemState
                          • sheet
                          • sheetCount
                          • sheetCountInBatch
                          • sheetInBatch
                          • sign
                          • update
                          • updateBatch
                          • verify
                          • w
                          • x
                          • y
                      • FormCalc User Reference
                      • Menu, Command, Toolbar, and Dialog Box Reference
                        • Sample Form Snippets and Forms
                          • Glossary
                          • Copyright and trademark notices

                          Livecycle

                          • de
                          • en
                          • fr
                          Powered by Helpmax Guide Source