Actions

Difference between revisions of "Accesslevel form field type"

From Joomla! Documentation

(Created page with "provides a list of accesslevel options. * '''name''' (mandatory) is the unique name of the parameter. * '''type''' (mandatory) must be ''accesslevel''. * '''label''' (mandato...")
 
Line 10: Line 10:
 
<source type="xml">
 
<source type="xml">
 
<field name="access" type="accesslevel"
 
<field name="access" type="accesslevel"
label="JFIELD_ACCESS_LABEL"
+
label="JFIELD_ACCESS_LABEL"
description="JFIELD_ACCESS_DESC"
+
description="JFIELD_ACCESS_DESC"
class="span12 small" />
+
class="span12 small" />
 
</source>
 
</source>
  
 
[[Category:Standard form field types]]
 
[[Category:Standard form field types]]

Revision as of 14:02, 10 September 2013

provides a list of accesslevel options.

  • name (mandatory) is the unique name of the parameter.
  • type (mandatory) must be accesslevel.
  • label (mandatory) (translatable) is the descriptive title of the field.
  • description description text for the form field.
  • class additional classes to set style.

Example XML Definition

<field name="access" type="accesslevel"
        label="JFIELD_ACCESS_LABEL"
        description="JFIELD_ACCESS_DESC"
        class="span12 small" />