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 is 0.

y1

integer

Default is 0.

width

integer

Default is 0.

height

integer

Default is 20.

length

integer

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

style

style

Default is Helvetica, 10, normal

readonly

boolean

Default is 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 is 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>