<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.sandbox.joomla.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Deldadam</id>
	<title>Joomla! Documentation - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.sandbox.joomla.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Deldadam"/>
	<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/Special:Contributions/Deldadam"/>
	<updated>2026-07-09T17:34:18Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Loading_extra_language_files&amp;diff=66853</id>
		<title>Loading extra language files</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Loading_extra_language_files&amp;diff=66853"/>
		<updated>2012-04-28T10:55:43Z</updated>

		<summary type="html">&lt;p&gt;Deldadam: Corrected default value for $base_dir&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Many times, you need to load extra language files in your code. An example is loading your component&#039;s language file into a module for that component. This example loads a single language file, and appends the results to the existing language strings. Following is the code that helps you do this&lt;br /&gt;
&lt;br /&gt;
==PHP Code==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;PHP&amp;quot;&amp;gt;&lt;br /&gt;
$lang =&amp;amp; JFactory::getLanguage();&lt;br /&gt;
$extension = &#039;com_helloworld&#039;;&lt;br /&gt;
$base_dir = JPATH_SITE;&lt;br /&gt;
$language_tag = &#039;en-GB&#039;;&lt;br /&gt;
$reload = true;&lt;br /&gt;
$lang-&amp;gt;load($extension, $base_dir, $language_tag, $reload);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Following is an explanation of the variables&lt;br /&gt;
&lt;br /&gt;
1. $extension - This is the extension whose language file will be loaded&lt;br /&gt;
&lt;br /&gt;
2. $base_dir - Should be JPATH_SITE in case you have language files stored elsewhere. Defaults to JPATH_BASE.  [optional]&lt;br /&gt;
&lt;br /&gt;
3. $language_tag - This is the locale string. Language files for this locale will be loaded. Defaults to the one set in backend. [optional]&lt;br /&gt;
&lt;br /&gt;
4. $reload - Flag that will force a language to be reloaded if set to true. [optional]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[Category:Development]][[Category:Languages]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Deldadam</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Loading_extra_language_files&amp;diff=66852</id>
		<title>Loading extra language files</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Loading_extra_language_files&amp;diff=66852"/>
		<updated>2012-04-28T10:53:59Z</updated>

		<summary type="html">&lt;p&gt;Deldadam: Completed according Joomla! Platform 11.4&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Many times, you need to load extra language files in your code. An example is loading your component&#039;s language file into a module for that component. This example loads a single language file, and appends the results to the existing language strings. Following is the code that helps you do this&lt;br /&gt;
&lt;br /&gt;
==PHP Code==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;PHP&amp;quot;&amp;gt;&lt;br /&gt;
$lang =&amp;amp; JFactory::getLanguage();&lt;br /&gt;
$extension = &#039;com_helloworld&#039;;&lt;br /&gt;
$base_dir = JPATH_SITE;&lt;br /&gt;
$language_tag = &#039;en-GB&#039;;&lt;br /&gt;
$reload = true;&lt;br /&gt;
$lang-&amp;gt;load($extension, $base_dir, $language_tag, $reload);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Following is an explanation of the variables&lt;br /&gt;
&lt;br /&gt;
1. $extension - This is the extension whose language file will be loaded&lt;br /&gt;
&lt;br /&gt;
2. $base_dir - Should be JPATH_SITE in case you have language files stored elsewhere. Defaults to JPATH_SITE [optional]&lt;br /&gt;
&lt;br /&gt;
3. $language_tag - This is the locale string. Language files for this locale will be loaded. Defaults to the one set in backend. [optional]&lt;br /&gt;
&lt;br /&gt;
4. $reload - Flag that will force a language to be reloaded if set to true. [optional]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[Category:Development]][[Category:Languages]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Deldadam</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Checkbox_form_field_type&amp;diff=65845</id>
		<title>Checkbox form field type</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Checkbox_form_field_type&amp;diff=65845"/>
		<updated>2012-03-25T21:40:52Z</updated>

		<summary type="html">&lt;p&gt;Deldadam: Example corrected as well&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The &#039;&#039;&#039;checkbox&#039;&#039;&#039; form field type provides a single checkbox.  If the parameter has a saved value this is selected when the page is first loaded.  If not, the default value (if any) is selected.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;type&#039;&#039;&#039; (mandatory) must be checkbox&lt;br /&gt;
* &#039;&#039;&#039;name&#039;&#039;&#039; (mandatory) is the unique name of the parameter.&lt;br /&gt;
* &#039;&#039;&#039;label&#039;&#039;&#039; (mandatory) (translatable) is the descriptive title of the field.&lt;br /&gt;
* &#039;&#039;&#039;value&#039;&#039;&#039; (optional) is the default value of the checkbox. If exist the checkbox will be checked by default.&lt;br /&gt;
* &#039;&#039;&#039;description&#039;&#039;&#039; (optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the label.&lt;br /&gt;
* &#039;&#039;&#039;class&#039;&#039;&#039; (optional) is a CSS class name for the HTML form field.  If omitted this will default to &#039;inputbox&#039;.&lt;br /&gt;
&lt;br /&gt;
Example XML parameter definition:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&amp;lt;field name=&amp;quot;mycheckbox&amp;quot; type=&amp;quot;checkbox&amp;quot; label=&amp;quot;Show title&amp;quot; description=&amp;quot;&amp;quot; value=&amp;quot;1&amp;quot; /&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
=== See also ===&lt;br /&gt;
* [[Standard form field types|List of standard form field types]]&lt;br /&gt;
[[Category:Standard form field types]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Deldadam</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Checkbox_form_field_type&amp;diff=65844</id>
		<title>Checkbox form field type</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Checkbox_form_field_type&amp;diff=65844"/>
		<updated>2012-03-25T21:40:11Z</updated>

		<summary type="html">&lt;p&gt;Deldadam: There is no drop-down box screen element&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The &#039;&#039;&#039;checkbox&#039;&#039;&#039; form field type provides a single checkbox.  If the parameter has a saved value this is selected when the page is first loaded.  If not, the default value (if any) is selected.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;type&#039;&#039;&#039; (mandatory) must be checkbox&lt;br /&gt;
* &#039;&#039;&#039;name&#039;&#039;&#039; (mandatory) is the unique name of the parameter.&lt;br /&gt;
* &#039;&#039;&#039;label&#039;&#039;&#039; (mandatory) (translatable) is the descriptive title of the field.&lt;br /&gt;
* &#039;&#039;&#039;value&#039;&#039;&#039; (optional) is the default value of the checkbox. If exist the checkbox will be checked by default.&lt;br /&gt;
* &#039;&#039;&#039;description&#039;&#039;&#039; (optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the label.&lt;br /&gt;
* &#039;&#039;&#039;class&#039;&#039;&#039; (optional) is a CSS class name for the HTML form field.  If omitted this will default to &#039;inputbox&#039;.&lt;br /&gt;
&lt;br /&gt;
Example XML parameter definition:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&amp;lt;field name=&amp;quot;mycheckbox&amp;quot; type=&amp;quot;checkbox&amp;quot; label=&amp;quot;Show title&amp;quot; description=&amp;quot;&amp;quot; default=&amp;quot;0&amp;quot; /&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
=== See also ===&lt;br /&gt;
* [[Standard form field types|List of standard form field types]]&lt;br /&gt;
[[Category:Standard form field types]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Deldadam</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Checkbox_form_field_type&amp;diff=65842</id>
		<title>Checkbox form field type</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Checkbox_form_field_type&amp;diff=65842"/>
		<updated>2012-03-25T21:11:09Z</updated>

		<summary type="html">&lt;p&gt;Deldadam: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The &#039;&#039;&#039;checkbox&#039;&#039;&#039; form field type provides a single checkbox.  If the parameter has a saved value this is selected when the page is first loaded.  If not, the default value (if any) is selected.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;type&#039;&#039;&#039; (mandatory) must be checkbox&lt;br /&gt;
* &#039;&#039;&#039;name&#039;&#039;&#039; (mandatory) is the unique name of the parameter.&lt;br /&gt;
* &#039;&#039;&#039;label&#039;&#039;&#039; (mandatory) (translatable) is the descriptive title of the field.&lt;br /&gt;
* &#039;&#039;&#039;value&#039;&#039;&#039; (optional) is the default value of the checkbox. If exist the checkbox will be checked by default.&lt;br /&gt;
* &#039;&#039;&#039;description&#039;&#039;&#039; (optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.&lt;br /&gt;
* &#039;&#039;&#039;class&#039;&#039;&#039; (optional) is a CSS class name for the HTML form field.  If omitted this will default to &#039;inputbox&#039;.&lt;br /&gt;
&lt;br /&gt;
Example XML parameter definition:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&amp;lt;field name=&amp;quot;mycheckbox&amp;quot; type=&amp;quot;checkbox&amp;quot; label=&amp;quot;Show title&amp;quot; description=&amp;quot;&amp;quot; default=&amp;quot;0&amp;quot; /&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
=== See also ===&lt;br /&gt;
* [[Standard form field types|List of standard form field types]]&lt;br /&gt;
[[Category:Standard form field types]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Deldadam</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=J1.5:Textarea_parameter_type&amp;diff=65840</id>
		<title>J1.5:Textarea parameter type</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=J1.5:Textarea_parameter_type&amp;diff=65840"/>
		<updated>2012-03-25T19:29:26Z</updated>

		<summary type="html">&lt;p&gt;Deldadam: Default value of textarea parameter type is not translatable&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:Params.textarea.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
{{Ambox|type=notice|text=[[Parameter|Parameters]] have been superseded by [[Form field|form fields]] in Joomla! 1.6. You may want to use the corresponding [[Textarea form field type]].}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;textarea&#039;&#039;&#039; parameter type provides a text area for entry of multi-line text.   If the parameter has a value saved, this value is displayed when the page is first loaded.  If not, the default value (if any) is selected.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;type&#039;&#039;&#039; (mandatory) must be &#039;&#039;textarea&#039;&#039;.&lt;br /&gt;
* &#039;&#039;&#039;name&#039;&#039;&#039; (mandatory) is the unique name of the parameter.&lt;br /&gt;
* &#039;&#039;&#039;label&#039;&#039;&#039; (mandatory) (translatable) is the descriptive title of the field.&lt;br /&gt;
* &#039;&#039;&#039;rows&#039;&#039;&#039; (mandatory) is the height of the visible text area in lines.  If omitted the width is determined by the browser.  The value of rows does not limit the number of lines that may be entered.&lt;br /&gt;
* &#039;&#039;&#039;cols&#039;&#039;&#039; (mandatory) is the width of the visible text area in characters.  If omitted the width is determined by the browser.  The value of cols does not limit the number of characters that may be entered.&lt;br /&gt;
* &#039;&#039;&#039;default&#039;&#039;&#039; (optional) (not translatable) is the default value.&lt;br /&gt;
* &#039;&#039;&#039;description&#039;&#039;&#039; (optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.&lt;br /&gt;
* &#039;&#039;&#039;class&#039;&#039;&#039; (optional)  is a CSS class name for the HTML form field.  If omitted this will default to &#039;text_area&#039;.&lt;br /&gt;
&lt;br /&gt;
Example XML parameter definition: &lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&amp;lt;param name=&amp;quot;mytextarea&amp;quot; type=&amp;quot;textarea&amp;quot; default=&amp;quot;default&amp;quot; label=&amp;quot;Enter some text&amp;quot; description=&amp;quot;&amp;quot; rows=&amp;quot;10&amp;quot; cols=&amp;quot;5&amp;quot; /&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
=== Tips ===&lt;br /&gt;
* If you need to line break just encode &amp;lt;code&amp;gt;&amp;amp;lt;br /&amp;amp;gt;&amp;lt;/code&amp;gt; in the XML config file like this: &amp;lt;code&amp;gt;&amp;amp;amp;lt;br /&amp;amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
=== See also ===&lt;br /&gt;
* [[Text parameter type]]&lt;br /&gt;
* [[Standard parameter types|List of standard parameter types]]&lt;br /&gt;
[[Category:Standard parameter types]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Deldadam</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=J1.5:Text_parameter_type&amp;diff=65839</id>
		<title>J1.5:Text parameter type</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=J1.5:Text_parameter_type&amp;diff=65839"/>
		<updated>2012-03-25T19:29:01Z</updated>

		<summary type="html">&lt;p&gt;Deldadam: Default value of text parameter type is not translatable&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:Params.text.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
{{Ambox|type=notice|text=[[Parameter|Parameters]] have been superseded by [[Form field|form fields]] in Joomla! 1.6. You may want to use the corresponding [[Text form field type]].}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;text&#039;&#039;&#039; parameter type provides a text box for data entry.  If the parameter has a value saved, this value is displayed when the page is first loaded.  If not, the default value (if any) is selected. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;type&#039;&#039;&#039; (mandatory) must be &#039;&#039;text&#039;&#039;.&lt;br /&gt;
* &#039;&#039;&#039;name&#039;&#039;&#039; (mandatory) is the unique name of the parameter.&lt;br /&gt;
* &#039;&#039;&#039;label&#039;&#039;&#039; (mandatory) (translatable) is the descriptive title of the field.&lt;br /&gt;
* &#039;&#039;&#039;size&#039;&#039;&#039; (optional) is the width of the text box in characters.  If omitted the width is determined by the browser.  The value of size does not limit the number of characters that may be entered.&lt;br /&gt;
* &#039;&#039;&#039;default&#039;&#039;&#039; (optional) (not translatable) is the default value.&lt;br /&gt;
* &#039;&#039;&#039;description&#039;&#039;&#039; (optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.&lt;br /&gt;
* &#039;&#039;&#039;class&#039;&#039;&#039; (optional)  is a CSS class name for the HTML form field.  If omitted this will default to &#039;text_area&#039;.&lt;br /&gt;
&lt;br /&gt;
Example XML parameter definition:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&amp;lt;param name=&amp;quot;mytextvalue&amp;quot; type=&amp;quot;text&amp;quot; default=&amp;quot;Some text&amp;quot; label=&amp;quot;Enter some text&amp;quot; description=&amp;quot;&amp;quot; size=&amp;quot;10&amp;quot; /&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
=== See also ===&lt;br /&gt;
* [[Textarea parameter type]]&lt;br /&gt;
* [[Standard parameter types|List of standard parameter types]]&lt;br /&gt;
[[Category:Standard parameter types]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Deldadam</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Textarea_form_field_type&amp;diff=65838</id>
		<title>Textarea form field type</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Textarea_form_field_type&amp;diff=65838"/>
		<updated>2012-03-25T19:22:48Z</updated>

		<summary type="html">&lt;p&gt;Deldadam: Default value of Textarea field type is currently not translatable&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:Params.textarea.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
{{Ambox|type=notice|text=In Joomla! 1.5, [[Form field|form fields]] were [[Parameter|parameters]]. For that version, you may want to use the corresponding [[Textarea parameter type]].}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;textarea&#039;&#039;&#039; form field type provides a text area for entry of multi-line text. If the field has a value saved, this value is displayed when the page is first loaded. If not, the default value (if any) is selected.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;type&#039;&#039;&#039; (mandatory) must be &#039;&#039;textarea&#039;&#039;.&lt;br /&gt;
* &#039;&#039;&#039;name&#039;&#039;&#039; (mandatory) is the unique name of the field.&lt;br /&gt;
* &#039;&#039;&#039;label&#039;&#039;&#039; (mandatory) (translatable) is the descriptive title of the field.&lt;br /&gt;
* &#039;&#039;&#039;rows&#039;&#039;&#039; (mandatory) is the height of the visible text area in lines. If omitted the width is determined by the browser. The value of rows does not limit the number of lines that may be entered.&lt;br /&gt;
* &#039;&#039;&#039;cols&#039;&#039;&#039; (mandatory) is the width of the visible text area in characters. If omitted the width is determined by the browser. The value of cols does not limit the number of characters that may be entered.&lt;br /&gt;
* &#039;&#039;&#039;default&#039;&#039;&#039; (optional) (not translatable) is the default value.&lt;br /&gt;
* &#039;&#039;&#039;description&#039;&#039;&#039; (optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.&lt;br /&gt;
* &#039;&#039;&#039;class&#039;&#039;&#039; (optional)  is a CSS class name for the HTML form field. If omitted this will default to &#039;text_area&#039;.&lt;br /&gt;
* &#039;&#039;&#039;filter&#039;&#039;&#039; (optional) allow the system to save certain html tags or raw data.&lt;br /&gt;
&lt;br /&gt;
Example XML field definition: &lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&amp;lt;field name=&amp;quot;mytextarea&amp;quot; type=&amp;quot;textarea&amp;quot; default=&amp;quot;default&amp;quot; label=&amp;quot;Enter some text&amp;quot; description=&amp;quot;&amp;quot; rows=&amp;quot;10&amp;quot; cols=&amp;quot;5&amp;quot; /&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
Use the raw filter to ensure that html code is preserved when the form is processed:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&amp;lt;field name=&amp;quot;mytextarea&amp;quot; type=&amp;quot;textarea&amp;quot; default=&amp;quot;default&amp;quot; label=&amp;quot;Enter some html&amp;quot; description=&amp;quot;&amp;quot; rows=&amp;quot;10&amp;quot; cols=&amp;quot;5&amp;quot; filter=&amp;quot;raw&amp;quot;/&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
=== Tips ===&lt;br /&gt;
* If you need to line break just encode &amp;lt;code&amp;gt;&amp;amp;lt;br /&amp;amp;gt;&amp;lt;/code&amp;gt; in the XML config file like this: &amp;lt;code&amp;gt;&amp;amp;amp;lt;br /&amp;amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* If you need a new line character in your default value, add &amp;lt;code&amp;gt;&amp;amp;amp;#13;&amp;amp;amp;#10;&amp;lt;/code&amp;gt; to the default parameter&lt;br /&gt;
&lt;br /&gt;
=== See also ===&lt;br /&gt;
* [[Text form field type]]&lt;br /&gt;
* [[Standard form field types|List of standard form field types]]&lt;br /&gt;
[[Category:Standard form field types]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Deldadam</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Text_form_field_type&amp;diff=65837</id>
		<title>Text form field type</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Text_form_field_type&amp;diff=65837"/>
		<updated>2012-03-25T19:21:57Z</updated>

		<summary type="html">&lt;p&gt;Deldadam: Default value of text field param is currently _not_ translatable&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:Params.text.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
{{Ambox|type=notice|text=In Joomla! 1.5, [[Form field|form fields]] were [[Parameter|parameters]]. For that version, you may want to use the corresponding [[Text parameter type]].}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;text&#039;&#039;&#039; form field type provides a text box for data entry. If the field has a value saved, this value is displayed when the page is first loaded. If not, the default value (if any) is selected. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;type&#039;&#039;&#039; (mandatory) must be &#039;&#039;text&#039;&#039;.&lt;br /&gt;
* &#039;&#039;&#039;name&#039;&#039;&#039; (mandatory) is the unique name of the field.&lt;br /&gt;
* &#039;&#039;&#039;label&#039;&#039;&#039; (mandatory) (translatable) is the descriptive title of the field.&lt;br /&gt;
* &#039;&#039;&#039;size&#039;&#039;&#039; (optional) is the width of the text box in characters. If omitted the width is determined by the browser. The value of size does not limit the number of characters that may be entered.&lt;br /&gt;
* &#039;&#039;&#039;maxlength&#039;&#039;&#039; (optional) limits the number of characters that may be entered.&lt;br /&gt;
* &#039;&#039;&#039;default&#039;&#039;&#039; (optional) (not translatable) is the default value.&lt;br /&gt;
* &#039;&#039;&#039;description&#039;&#039;&#039; (optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.&lt;br /&gt;
* &#039;&#039;&#039;class&#039;&#039;&#039; (optional) is a CSS class name for the HTML form field. If omitted this will default to &#039;text_area&#039;.&lt;br /&gt;
* &#039;&#039;&#039;readonly&#039;&#039;&#039; (optional) &lt;br /&gt;
* &#039;&#039;&#039;disabled&#039;&#039;&#039; (optional)&lt;br /&gt;
* &#039;&#039;&#039;filter&#039;&#039;&#039; (optional) allow the system to save certain html tags or raw data.&lt;br /&gt;
&lt;br /&gt;
Example XML field definition:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&amp;lt;field name=&amp;quot;mytextvalue&amp;quot; type=&amp;quot;text&amp;quot; default=&amp;quot;Some text&amp;quot; label=&amp;quot;Enter some text&amp;quot; description=&amp;quot;&amp;quot; size=&amp;quot;10&amp;quot; /&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the integer filter to ensure that letters types get stripped when the form is processed.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&amp;lt;field name=&amp;quot;myintvalue&amp;quot; type=&amp;quot;text&amp;quot; default=&amp;quot;8&amp;quot; label=&amp;quot;Enter some text&amp;quot; description=&amp;quot;Enter some description&amp;quot; filter=&amp;quot;integer&amp;quot; /&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the raw filter to ensure that html code is preserved when the form is processed.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&amp;lt;field name=&amp;quot;myhtmlvalue&amp;quot; type=&amp;quot;text&amp;quot; default=&amp;quot;&amp;quot; label=&amp;quot;Enter some text&amp;quot; description=&amp;quot;Enter some description&amp;quot; filter=&amp;quot;raw&amp;quot; /&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
=== See also ===&lt;br /&gt;
* [[Textarea form field type]]&lt;br /&gt;
* [[Standard form field types|List of standard form field types]]&lt;br /&gt;
[[Category:Standard form field types]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Deldadam</name></author>
	</entry>
</feed>