Actions

Difference between revisions of "HeaderTag form field type"

From Joomla! Documentation

(new document)
 
 
Line 2: Line 2:
  
 
* '''name''' (mandatory) is the unique name of the parameter.
 
* '''name''' (mandatory) is the unique name of the parameter.
* '''type''' (mandatory) must be ''email''.
+
* '''type''' (mandatory) must be ''headertag''.
 
* '''label''' (mandatory) (translatable) is the descriptive title of the field.
 
* '''label''' (mandatory) (translatable) is the descriptive title of the field.
 
* '''description''' description text for the form field.
 
* '''description''' description text for the form field.

Latest revision as of 18:09, 10 September 2013

provides a dropdown list of h1 to h6 as options.

  • name (mandatory) is the unique name of the parameter.
  • type (mandatory) must be headertag.
  • label (mandatory) (translatable) is the descriptive title of the field.
  • description description text for the form field.
  • default (optional) provides a default value.

Example XML Definition

<field name="header_tag" type="headertag"
        label="COM_MODULES_FIELD_HEADER_TAG_LABEL"
        description="COM_MODULES_FIELD_HEADER_TAG_DESC" 
        default="h3"/>