When you create calculations and scripts in LiveCycle Designer ES, you should be aware that the objects on which you are adding scripts are actually defined as XML objects in the underlying XML Forms Architecture. That means while the Standard tab of the Object Library palette contains a wide variety of objects, many of those objects are defined by the same XML object. As a result, the various scripting properties and methods that are available are based on the definition of the XML object, and not the object in the Object Library palette.
Objects available in the Standard tab of the Object Library palette that are based on the same base XML object definition share a set of common properties and methods. If you are referring to the LiveCycle Designer ES Scripting Reference, you determine the set of properties and methods available based on the corresponding base XML object. Similarly, each base XML object definition contains a child object that specifically controls the visual appearance of the LiveCycle Designer ES object.For example, if you want to browse the properties and methods that are available for a Date/Time Field object in LiveCycle Designer ES, you would start with the field object. If you want to browse the corresponding XML object that controls the visual appearance of the Date/Time Field, view the dateTimeEdit object.The table below illustrates the mapping between objects that you see in the Standard tab of the Object Library palette in LiveCycle Designer ES, and the corresponding XML Form Architecture object.
|
Standard Object Library Object |
XML Form Architecture Object (Base) |
XML Form Architecture Object (UI) |
|---|---|---|
|
Barcodes |
field |
barcode |
|
Button |
field |
button |
|
Check Box |
field |
checkButton |
|
Date/Time Field |
field |
dateTimeEdit |
|
Decimal Field |
field |
numericEdit |
|
Signature Field |
field |
signature |
|
Drop-Down List |
field |
choiceList |
|
Email Submit Button |
field |
button |
|
HTTP Submit Button |
field |
button |
|
Image Field |
field |
imageEdit |
|
List Box |
field |
choiceList |
|
Numeric Field |
field |
numericEdit |
|
Paper Forms Barcode |
field |
barcode |
|
Password Field |
field |
passwordEdit |
|
Print Button |
field |
button |
|
Radio Button |
field |
checkButton |
|
Reset Button |
field |
button |
|
Subform |
subform |
N/a |
|
Table (including body rows, header rows, and footer rows) |
subform |
N/a |
|
Text Field |
field |
textEdit |
For more information on using objects in LiveCycle Designer ES, as well as creating calculations and scripts, see LiveCycle Designer ES Help.
