Combo form field type

From Joomla! Documentation

This page contains changes which are not marked for translation.
Warning!

This page has been superseded and is no longer maintained. Please go to Joomla Manual Combo Field instead


Provides a combobox field, which offers a list like the List Form Field Type, but additionally allows free text.

  • name (mandatory) is the unique name of the parameter.
  • type (mandatory) must be combo.
  • label (mandatory) (translatable) is the descriptive title of the field.
  • description (optional) (translatable) tooltip for the form field.
  • class (optional) specify your own classes for additonal markup, defaults to "combobox".
  • readonly (optional) set to "true", meaning not editable, defaults to false.
  • disabled (optional) set to "true", meaning not enabled, defaults to false.
  • size (optional) sets the input size of the field.
  • required (optional) sets whether input is required, defaults to no input required.
<field name="myeditbox" type="combo" label="MyEditBox" description="myeditbox_Desc" size="7">
  <option value="1">Option 1</option>
  <option value="2">Option 2</option>
</field>