Joomla integer Form Field Type

The integer form field type provides a select box with a range of integer values. The integer field type extends the list type.

XML Definition

<field name="myinteger"
type="integer"
label="Choose an integer"
first="1"
last="10"
step="1" />

Additional Parameters

All the additional parameters (first, last and step) are required.

first: This value is the lowest on the list.

last: This value is the highest on the list.

step: Each option will be the previous option incremented by this integer, starting with the first value until the last value is reached.