Difference between revisions of "Combo form field type"

From Joomla! Documentation

m
(Marked this version for translation)
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Provides a combobox field.
+
<noinclude><languages /></noinclude>
 
+
<translate><!--T:1-->
* '''name''' (mandatory) is the unique name of the parameter.
+
Provides a combobox field.</translate>
* '''type''' (mandatory) must be ''combobox''.
+
<translate><!--T:2-->
* '''label''' (mandatory) is the descriptive title of the field.
+
* '''name''' (mandatory) is the unique name of the parameter.</translate>
* '''description''' (optional) tooltip for the form field.
+
<translate><!--T:3-->
* '''class''' (optional) specify your own classes for additonal markup, defaults to "combobox"
+
* '''type''' (mandatory) must be ''combo''.</translate>
* '''readonly''' (optiona) set to "true", defaults to false, meaning editable.
+
<translate><!--T:4-->
* '''disabled''' (optional) set to "true", defaults to false, meaning enabled.
+
* '''label''' (mandatory) (translatable) is the descriptive title of the field.</translate>
* '''size''' (optional) sets the input size of the field
+
<translate><!--T:5-->
* '''required''' (optional) sets whether input is required, defaults to no input required.
+
* '''description''' (optional) (translatable) tooltip for the form field.</translate>
 +
<translate><!--T:6-->
 +
* '''class''' (optional) specify your own classes for additonal markup, defaults to "combobox".</translate>
 +
<translate><!--T:7-->
 +
* '''readonly''' (optional) set to "true", defaults to false, meaning editable.</translate>
 +
<translate><!--T:8-->
 +
* '''disabled''' (optional) set to "true", defaults to false, meaning enabled.</translate>
 +
<translate><!--T:9-->
 +
* '''size''' (optional) sets the input size of the field.</translate>
 +
<translate><!--T:10-->
 +
* '''required''' (optional) sets whether input is required, defaults to no input required.</translate>
  
 
<source type="php">
 
<source type="php">
<field name="myeditbox" type="combobox" label="MyEditBox" description="myeditbox_Desc" size="7" />
+
<field name="myeditbox" type="combo" label="MyEditBox" description="myeditbox_Desc" size="7" />
 
</source>
 
</source>
  
 +
<noinclude>
 +
<translate>
 +
<!--T:11-->
 
[[Category:Standard form field types]]
 
[[Category:Standard form field types]]
 +
</translate>
 +
</noinclude>

Revision as of 13:59, 11 August 2015

Other languages:
English • ‎Nederlands • ‎español • ‎français

Provides a combobox field.

  • 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", 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="combo" label="MyEditBox" description="myeditbox_Desc" size="7" />