Standard Joomla XML field type – Password

Standard field type Joomla XML – Password displays a plain text field for filling in the password. When you enter data into the field, the characters are hidden dots. Joomla XML field type – Password works in Joomla versions 2.5 and above.

Note that the data string is stored in params.ini as plain text and is not hidden by the hash function. This storage method does not guarantee a secure way to store passwords.

Example of a field in the CMS Joomla 3:

Joomla XML Standard Field Type - Password — Example on Joomla 3

Example of a field in the CMS Joomla 4:

Joomla XML Standard Field Type - Password — Example on Joomla 4

The XML code of the field from the example looks like this:

				
					<field
       name="pass"
       type="password"
       label="Password"
       description="Enter the desired password"/>
				
			

This field supports attributes:

  • name – system field name (field identifier).
  • type – field type, in this case «tel».
  • label – field name displayed.
  • description – field description.
  • class – applicable CSS field classes.
  • default – sets the default value of the field.
  • required – sets the mandatory field attribute. A form without this field cannot be submitted. Possible variants can be true and false.
  • readonly – sets the field to read-only mode, the value of the field cannot be changed. The options can be true and false.
  • maxlength – sets the maximum number of characters allowed to be entered.
  • size – the width of the text field in characters. If no field width is specified, it takes the value from the user’s browser. This attribute does not limit the number of characters entered.
  • disabled – makes the field unchangeable. The value in the field is not saved. The options are true and false.
  • hint – adds a tooltip to the placeholder field.
  • autocomplete – disables autocomplete in the field. To disable it, you must specify value for example autocomplete=”off”. To make autocomplete available, just remove this attribute.
  • autofocus – sets autofocus on the field after the page loads.
  • onchange – attribute that will add JavaScript code to the field that is executed when the data in the field changes.
  • spellcheck – instructs the browser whether to check for grammar in the field. The options are true and false.
  • lock – value can be true or false. If true, the field will be initially locked, but a “change” button will appear next to it, which, when clicked, will unlock the field and allow you to enter the password.

This is all we know about Joomla XML field type – Password. If we learn anything new, we’ll be sure to add more information to the article.

Do you need help with generating an XML file? Email us at admin@iws.by and we’ll help you.

Standard Joomla XML field type - Password
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.
Sign in

No account yet?

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

Вам нужно оказать услугу по формированию файла с 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