Standard field type Joomla XML – Textarea displays the usual multi-line text box, which is filled with text data. Joomla XML field type – Textarea works in Joomla versions 2.5 and above.
This field supports attributes:
- name - system name of the field (field identifier).
- type - field type, in this case «textarea».
- label - the displayed field name.
- class - CSS field classes applied.
- description - displayed field description. In Joomla 3 it is displayed as a tooltip when hovering over the field name.
- default - sets the default value of the field.
- hint - adds a placeholder (hint) to the field.
- onchange - attribute that will add JavaScript code to the field that is executed when the data in the field changes.
- rows — sets the number of lines in the text field. If not set, the value will be assigned from the user's browser.
- cols — sets the width of the text box in characters. If not set, the value will be assigned from the user's browser.
- filter — sets the option of filtering the data in the field.
Example of a field in the CMS Joomla 3:

Example of a field in CMS Joomla 4 and Joomlg 5:

The XML code of the field from the example looks like this:
Please note
Do you need help with generating an XML file? Email us at admin@iws.by and we'll help you.