JForm, Definiciones de formulario XML
From Joomla! Documentation
Joomla! y más reciente suministra clase JForm para crear de forma más cómoda y flexible una gran cantidad de campos de formulario. JForm puede crear formularios a partir de definicioens XML de formularios. Estos pueden ser archivos independientes o parte de otros archivos, en particular archivos de manifiesto.
Sintaxis
The root element for JForm definitions is usually <config>
. Under the <config>
element, one or more <fieldset>
elements may appear, each representing a HTML <fieldset>
, a group of form fields visually grouped together. The optional name
attribute can be used on the <fieldset>
to define the name of the fieldset, as in <fieldset name="params">
.
Each fieldset must contain one or more <field>
elements, each representing a single form field with a label. See Standard form field types for a list of allowed form field types and example XML form field definitions.