Element input combobox

LANSA Integrator

Element - input combobox

The input element of type combobox is used add a combobox to the current page.

Syntax:

Element

Attributes

Value

Notes for Element/Attribute/Value

input

type

combobox

 

x1

integer

Default. 0.

y1

integer

Default. 0.

width

integer

Default. 0.

height

integer

Default. 20.

length

integer

Default. 0. A value of 0 indicates no input limit.

style

style

Default. Helvetica, 10, normal

readonly

boolean

Default. false.

 

Child item elements are used to add entries to the combobox.

The entry value can come from the item value attribute or as a text node between the start and end item tag.

Syntax:

Element

Attributes

Value

Notes for Element/Attribute/Value

item

value

string

 

selected

boolean

Default. false.

 

Example

 

<input type="combobox" name="COMBO1" x1="100" y1="600" width="200" length="20" style="form">

   <item value="C1"/>

   <item>C2</item>

   <item value="C3" selected="true"/>

   <item value="C4"/>

   <item value="{FIELD}"/>

   <item value="C6"/>

</input>