Actions

Category

Difference between revisions of "Form fields"

From Joomla! Documentation

m (should not be a top level category)
m (cat header template added)
 
Line 1: Line 1:
{{:Form field}}
+
{{cat header|{{:Form field}}
 
+
}}
 
+
 
[[Category:JForm forms]]
 
[[Category:JForm forms]]

Latest revision as of 19:58, 29 January 2013

Form fields are fields in a HTML <form>. Joomla! 2.5 Joomla 2.5 and newer supply the JForm class to conveniently and flexibly create forms with a large amount of form fields. Each form field type is a subclass of JFormField.

In addition to being a flexible page creation tool, JFormFields are used by Joomla! to allow administrators to configure Joomla! or its extensions without changing the underlying code. In Joomla! 1.5, this was handled by the now deprecated JParameter and JElement classes.

To define form fields in the configuration of an extension, you must include them in a named fieldset, such as <fieldset name="basic">, that is within the <fields name="params"> section of the <config> element in your XML manifest file.


Information icon You can browse the Joomla! Documentation Wiki either from this page or by using the Category Tree Page.
Please note, if a page is not given a category, then it will not be listed here.
Additional information next to each category listed is as follows. (# C(ategories), # P(ages), # F(iles))

Subcategories

This category has only the following subcategory.

S