Joomla XML Standard Field Type – Spacer

Joomla XML Field Type – URL works in Joomla versions: 2.5 and higher.

Standard field type Joomla XML – Spacer displays a visual separator between fields in a form, which has several display types. Can be a regular line separator or text as a separator. Consider each below.

Option 1: Line Separator:

This type of separator has the same appearance in both Joomla 3 and Joomla 4 versions.

Joomla XML Standard Field Type - Spacer - Line Type

The line code of the Spacer field from the image in the XML document looks like this:

				
					<field 
       name="myspacer"
       type="spacer"
       hr="true"/>
				
			

Option 2: Text Separator:

An example of displaying the Spacer field type in the Joomla 3 admin panel:

Joomla 3 XML Standard Field Type - Spacer - Text Separator

An example of displaying the Spacer field type in the Joomla 4 admin panel:

Joomla 4 XML Standard Field Type - Spacer - Text Separator

The Spacer field code as a text separator from the image in the XML document looks like this:

				
					<field
       name="myspacer"
       type="spacer"
       label="Field name"
       description="Field description"/>
				
			

This field type supports attributes:

  • name – system name of the field (field identifier).
  • type – the type of the field, in this case «spacer».
  • label – display name of the field.
  • description – the displayed description of the field. In Joomla 3 it is displayed as a tooltip when hovering over a field name.
  • hr – responsible for displaying a horizontal line. Values can be true or false. If the option is set to true, then the value from the label attribute will be ignored.
  • class – applied CSS field classes.

For now, that’s all there is to it about the Joomla XML field type – Spacer. 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.

Standard Joomla XML field type - Spacer
Joomla XML Form Generation
Do you need help with Joomla XML form with fields? Email us, we will evaluate the work and help you. Click the button below.
© 2013-2023 IWS.BY. All rights reserved.

Individual entrepreneur Alexander Igorevich Berezuev, Republic of Belarus, Vetka, UNP 490772447. Certificate of state registration No. 490772447 was issued by the Vetka District Committee on August 15, 2013. The site is registered in the Commercial Register of the Republic of Belarus on July 27, 2015 № 280215 Reproduction of materials from IWS.BY in whole or in part without the written permission of IWS.BY is prohibited.

Privacy policies

Telephone number of employees of local executive and administrative bodies
at the place of state registration of IWS.BY,
authorised to consider applications of buyers: 8 02330 44345

Консультация по услуге:

Вам нужно оказать услугу по формированию файла с XML полями для Joomla? Заполните форму ниже с информацией о необходимых вам данных и получите цену готового файла с полями Joomla XML

Consultation on the service:

You need a service to generate a file with XML fields for Joomla? Fill out the form below with information about the data you need and get a price for the finished file with Joomla XML fields