Adds new items to the current form
field. For example, this method adds new items to a drop-down list.
SyntaxReference_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.
|
JavaScriptDropDownList1.addItem("Human Resources");
FormCalcDropDownList1.addItem("Human Resources")
|
|
|