Joomla tag Form Field Type
The tag field type provides a field where you can enter tags, either AJAX or nested.
Example XML Definition
<field name="tags" type="tag" label="JTAG" description="JTAG_DESC" mode="ajax" class="inputbox span12 small" multiple="true" />
Additional Parameters
mode: It is either "ajax" or "nested".
published: It determines if non-published tags should be allowed.
multiple: It defines the ability to add more than one tag to the form field.
custom: if the ajax mode is chosen, this setting will prevent users from adding in new tags.
Examples
1. Content Component
<field
name="tags"
type="tag"
label="JTAG"
description="JTAG_DESC"
class="span12"
multiple="true" />
2. Categories Component
<field
name="tags"
type="tag"
label="JTAG"
description="JTAG_DESC"
class="span12"
multiple="true" />
3. Contact Component
<field
name="tags"
type="tag"
label="JTAG"
description="JTAG_DESC"
class="span12"
multiple="true" />