![]() |
Languages: |
English |
In Joomla! 1.5, form fields were parameters. For that version, you may want to use the corresponding Password parameter type. |
The password form field type provides a text box for entry of a password. The password characters will be obscured as they are entered. If the field has a saved value this is entered (in obscured form) into the text box. If not, the default value (if any) is entered.
Note that the password string is stored in params.ini in cleartext; the stored value is not obscured by any hash function. Since most web servers will, by default, serve a params.ini file if the URL is entered in a web browser, this cannot be considered a secure method of holding a password.
Example XML field definition:
<field name="mypassword" type="password" default="secret" label="Enter a password" description="" size="5" />