Actions

Difference between revisions of "Combo form field type"

From Joomla! Documentation

m
m
Line 3: Line 3:
 
* '''name''' (mandatory) is the unique name of the parameter.
 
* '''name''' (mandatory) is the unique name of the parameter.
 
* '''type''' (mandatory) must be ''combobox''.
 
* '''type''' (mandatory) must be ''combobox''.
* '''label''' (mandatory) is the descriptive title of the field.
+
* '''label''' (mandatory) (translatable) is the descriptive title of the field.
* '''description''' (optional) tooltip for the form field.
+
* '''description''' (optional) (translatable) tooltip for the form field.
 
* '''class''' (optional) specify your own classes for additonal markup, defaults to "combobox"
 
* '''class''' (optional) specify your own classes for additonal markup, defaults to "combobox"
* '''readonly''' (optiona) set to "true", defaults to false, meaning editable.
+
* '''readonly''' (optional) set to "true", defaults to false, meaning editable.
 
* '''disabled''' (optional) set to "true", defaults to false, meaning enabled.
 
* '''disabled''' (optional) set to "true", defaults to false, meaning enabled.
 
* '''size''' (optional) sets the input size of the field
 
* '''size''' (optional) sets the input size of the field

Revision as of 05:26, 30 November 2013

Provides a combobox field.

  • name (mandatory) is the unique name of the parameter.
  • type (mandatory) must be combobox.
  • 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", defaults to false, meaning editable.
  • disabled (optional) set to "true", defaults to false, meaning enabled.
  • 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="combobox" label="MyEditBox" description="myeditbox_Desc" size="7" />