Actions

Difference between revisions of "Combo form field type"

From Joomla! Documentation

(new document (in English))
 
m
Line 12: Line 12:
  
 
<source type="php">
 
<source type="php">
<field name="myeditbox" type="combobox"
+
<field name="myeditbox" type="combobox" label="MyEditBox" description="myeditbox_Desc" size="7" />
size="7" />
+
 
</source>
 
</source>
  
 
[[Category:Standard form field types]]
 
[[Category:Standard form field types]]

Revision as of 05:23, 30 November 2013

Provides a combobox field.

  • name (mandatory) is the unique name of the parameter.
  • type (mandatory) must be combobox.
  • label (mandatory) is the descriptive title of the field.
  • description (optional) tooltip for the form field.
  • class (optional) specify your own classes for additonal markup, defaults to "combobox"
  • readonly (optiona) 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" />