Joomla XML Standard Field Type – Textarea

Standard field type Joomla XML – Textarea displays a regular multi-line text box.

The field in the form looks like this:

The field code from the image looks like this:

<field name="mytextarea" type="textarea" default="Стандартное значение" label="Текстовое расширенное поле" description="Описание поля"/>
Code language: YAML (yaml)

This field supports attributes:

  • name – the system name of the field, which must be unique.
  • type – the type of the field, in this case «textarea».
  • label – the display name of the field.
  • description – the displayed field description. In Joomla 3, it is displayed as a tooltip when hovering over a field name.
  • class – applied CSS field classes.
  • default – sets the default value of the field.
  • rows – sets the number of lines in the text box. 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 for filtering data in the field.
  • hint – adds a placeholder to the field.

For now, that’s all there is to it about the Joomla XML field type – Textarea. If we receive new information, it will be added to this article.

Do you need help generating an XML file? Write to us at admin@iws.by and we will help you.

Leave a Reply