Actions

Difference between revisions of "Standard form field types"

From Joomla! Documentation

(Add link to repeatable form fields)
 
(8 intermediate revisions by 3 users not shown)
Line 70: Line 70:
 
|[[Editor form field type|editor]]
 
|[[Editor form field type|editor]]
 
|provides an editor area field.
 
|provides an editor area field.
|{{JVer|2.5}} and newer
+
|{{JVer|1.6}} and newer
 
|-
 
|-
 
|[[Editors form field type|editors]]
 
|[[Editors form field type|editors]]
 
|Provides a drop down list of the available WYSIWYG editors. Since {{JVer|2.5}} use [[Plugins form field type|plugins form field]] instead.
 
|Provides a drop down list of the available WYSIWYG editors. Since {{JVer|2.5}} use [[Plugins form field type|plugins form field]] instead.
|{{JVer|2.5}}
+
|{{JVer|1.6}}
 
|-
 
|-
 
|[[Email form field type|email]]
 
|[[Email form field type|email]]
Line 81: Line 81:
 
|-
 
|-
 
|[[File form field type|file]]
 
|[[File form field type|file]]
|
+
|Provides an input field for files
 
|{{JVer|2.5}} and newer
 
|{{JVer|2.5}} and newer
 
|-
 
|-
Line 136: Line 136:
 
|provides a drop down list of the available menu items from your Joomla site.
 
|provides a drop down list of the available menu items from your Joomla site.
 
|{{JVer|2.5}} and newer
 
|{{JVer|2.5}} and newer
 +
|-
 +
|[[Meter form field type|meter]]
 +
|Provides a meter to show value in a range.
 +
|{{JVer|3.2}} and newer
 
|-
 
|-
 
|[[Modulelayout form field type|Module Layout]]
 
|[[Modulelayout form field type|Module Layout]]
Line 156: Line 160:
 
|supports a one line text field.
 
|supports a one line text field.
 
|{{JVer|3.1}} and newer
 
|{{JVer|3.1}} and newer
 +
|-
 +
|[[Number form field type|number]]
 +
|Provides a one line text box with up-down handles to set a number in the field.
 +
|{{JVer|3.2}} and newer
 
|-
 
|-
 
|[[Password form field type|password]]
 
|[[Password form field type|password]]
Line 164: Line 172:
 
|provides a list of plugins from a given folder.
 
|provides a list of plugins from a given folder.
 
|{{JVer|2.5}} and newer
 
|{{JVer|2.5}} and newer
 +
|-
 +
|[[Predefined List form field type|predefinedlist]]
 +
|Form Field to load a list of predefined values.
 +
|{{JVer|3.2}} and newer
 
|-
 
|-
 
|[[Radio form field type|radio]]
 
|[[Radio form field type|radio]]
Line 169: Line 181:
 
|{{JVer|2.5}} and newer
 
|{{JVer|2.5}} and newer
 
|-
 
|-
|[[Repeatable form field type|radio]]
+
|[[Range form field type|range]]
 +
|Provides a horizontal scroll bar to specify a value in a range.
 +
|{{JVer|3.2}} and newer
 +
|-
 +
|[[Repeatable form field type|repeatable]]
 
|Allows form fields which can have as many options as the user desires.
 
|Allows form fields which can have as many options as the user desires.
 
|{{JVer|3.2}} and newer
 
|{{JVer|3.2}} and newer
Line 218: Line 234:
 
|-
 
|-
 
|[[User form field type|user]]
 
|[[User form field type|user]]
|provides a modal list of users.
+
|Field to select a user from a modal list. Displays User Name and stores User ID
|{{JVer|2.5}} and newer
+
|{{JVer|1.6}} and newer
 +
|-
 +
|[[UserActive form field type|useractive]]
 +
|Field to show a list of available user active statuses.  
 +
|{{JVer|3.2}} and newer
 +
|
 
|-
 
|-
 
|[[Usergroup form field type|usergroup]]
 
|[[Usergroup form field type|usergroup]]
|provides a drop down list of user groups.  
+
|provides a drop down list of user groups. Since {{JVer|3.2}} use [[User Group List form field type|usergrouplist]] instead.
 
|{{JVer|2.5}} and newer
 
|{{JVer|2.5}} and newer
 +
|
 +
|-
 +
|[[User Group List form field type|usergrouplist]]
 +
|Field to load a drop down list of available user groups. Replaces usergroup form field type.
 +
|{{JVer|3.2}} and newer
 +
|
 +
|-
 +
|[[User State form field type|userstate]]
 +
|Field to load a list of available users statuses.
 +
|{{JVer|3.2}} and newer
 
|}
 
|}
  
 
[[Category:Form fields]]
 
[[Category:Form fields]]
 
[[Category:Development Reference]]
 
[[Category:Development Reference]]
 +
[[Category:Needs to be marked for translation]]

Latest revision as of 15:40, 22 May 2015

Numerous types of form field are built into Joomla!. The following table lists these standard types and their availability. Use the single-page reference if you want to print all existing form field documentation.

Joomla 1.5 Please note that many of these fields are available as parameter types in Joomla! 1.5. For a list of parameter types, see J1.5:Standard parameter types. For a comparison between form field and parameter types, see Standard form field and parameter types.

Type Description Availability
accesslevel provides a drop down list of viewing access levels. Joomla 2.5 and newer
cachehandler provides a list of available cache handling options. Joomla 2.5 and newer
calendar provides a text box for entry of a date. An icon next to the text box provides a link to a pop-up calendar, which can also be used to enter the date value. Joomla 2.5 and newer
captcha provides a drop down list of the captcha plugins. Joomla 2.5 and newer
category provides a drop down list of categories for an extension. Joomla 2.5 and newer
checkbox provides a single checkbox to be checked or unchecked Joomla 2.5 and newer
checkboxes provides unlimited checkboxes that can be used for multi-select. Joomla 2.5 and newer
Chrome Style provides a list of template chrome style options grouped by template. Joomla 3.0 and newer
color provides a color picker when clicking the input box. Joomla 2.5 and newer
Content Language Provides a list of content languages. Joomla 2.5 and newer
Content Type Provides a list of content types. Joomla 3.1 and newer
combo provides a combo box field. Joomla 2.5 and newer
componentlayout provides a grouped list of core and template alternate layouts for a component item. Joomla 2.5 and newer
contentlanguage provides a list of installed content languages for use in conjunction with the language switcher plugin. Joomla 2.5 and newer
Database Connection Provides a list of available database connections, optionally limiting to a given list. Joomla 2.5 and newer
editor provides an editor area field. Joomla 1.6 and newer
editors Provides a drop down list of the available WYSIWYG editors. Since Joomla 2.5 use plugins form field instead. Joomla 1.6
email provides an email field. Joomla 2.5 and newer
file Provides an input field for files Joomla 2.5 and newer
filelist provides a drop down list of files from a specified directory. Joomla 2.5 and newer
folderlist provides a drop down list of folders from a specified directory. Joomla 2.5 and newer
groupedlist provides a drop down list of items organized into groups. Joomla 2.5 and newer
header tag provides a drop down list of the header tags (h1-h6). Joomla 3.0 and newer
helpsite provides a drop down list of the help sites for your Joomla installation. Joomla 2.5 and newer
hidden provides a hidden field for saving a form field whose value cannot be altered directly by a user in the Administrator (it can be altered in code or by editing the params.ini file). Joomla 2.5 and newer
imagelist provides a drop down list of image files in a specified directory. Joomla 2.5 and newer
integer provides a drop down list of integers between a minimum and maximum. Joomla 2.5 and newer
language provides a drop down list of the installed languages for the Front-end or Back-end. Joomla 2.5 and newer
list provides a drop down list of custom-defined entries. Joomla 2.5 and newer
media provides modal access to the media manager for insertion of images with upload for users with appropriate permissions. Joomla 2.5 and newer
menu provides a drop down list of the available menus from your Joomla site. Joomla 2.5 and newer
Menu Item provides a drop down list of the available menu items from your Joomla site. Joomla 2.5 and newer
meter Provides a meter to show value in a range. Joomla 3.2 and newer
Module Layout provides a list of alternative layout for a module grouped by core and template. Joomla 2.5 and newer
Module Order Provides a drop down to set the ordering of module in a given position Joomla 2.5 and newer
Module Position provides a text input to set the position of a module. Joomla 2.5 and newer
Module Tag provides a list of html5 elements (used to wrap a module in). Joomla 3.0 and newer
note supports a one line text field. Joomla 3.1 and newer
number Provides a one line text box with up-down handles to set a number in the field. Joomla 3.2 and newer
password provides a text box for entry of a password. The password characters will be obscured as they are entered. Joomla 2.5 and newer
plugins provides a list of plugins from a given folder. Joomla 2.5 and newer
predefinedlist Form Field to load a list of predefined values. Joomla 3.2 and newer
radio provides radio buttons to select different options. Joomla 2.5 and newer
range Provides a horizontal scroll bar to specify a value in a range. Joomla 3.2 and newer
repeatable Allows form fields which can have as many options as the user desires. Joomla 3.2 and newer
rules provides a matrix of group by action options for managing access control. Display depends on context. Joomla 2.5 and newer
sessionhandler provides a drop down list of session handler options. Joomla 2.5 and newer
spacer provides a visual separator between form fields. It is purely a visual aid and no value is stored. Joomla 2.5 and newer
sql provides a drop down list of entries obtained by running a query on the Joomla Database. The first results column returned by the query provides the values for the drop down box. Joomla 2.5 and newer
tag provides an entry point for tags (either AJAX or Nested). Joomla 3.1 and newer
tel provides an input field for a telephone number. Joomla 2.5 and newer
templatestyle provides a drop down list of template styles. Joomla 2.5 and newer
text provides a text box for data entry. Joomla 2.5 and newer
textarea provides a text area for entry of multi-line text. Joomla 2.5 and newer
timezone provides a drop down list of time zones. Joomla 2.5 and newer
URL provides a URL text input field. Joomla 2.5 and newer
user Field to select a user from a modal list. Displays User Name and stores User ID Joomla 1.6 and newer
useractive Field to show a list of available user active statuses. Joomla 3.2 and newer
usergroup provides a drop down list of user groups. Since Joomla 3.2 use usergrouplist instead. Joomla 2.5 and newer
usergrouplist Field to load a drop down list of available user groups. Replaces usergroup form field type. Joomla 3.2 and newer
userstate Field to load a list of available users statuses. Joomla 3.2 and newer