Skip to main content

Field group (repeatable)

Fieldgroup Field Plugin for FLEXIcontent

Plugin : fieldgroup — Fieldgroup

:::info Source This page is generated from plugins/flexicontent_fields/fieldgroup/fieldgroup.xml and the official FLEXIcontent 5.x language files. :::

Editing​

Editing​

Values​

Field grouping​

OptionDescriptionTypeValuesDefault
Fields
fields
Select fields that will be show shown as a groupfields——

Number of values​

OptionDescriptionTypeValuesDefault
Show On
showon
Shown On Conditions. Use Joomla Format 'fieldname:value' e.g album_type:2 NOTE: DO not set this field to required. Also DISABLE prettyCheckable / Select2 JS in any referenced fields of type select*, checkbox*, radio*text——
Required
required
Choose yes if the field must be filledradio0 = No
1 = Yes
0 (No)
Allow multiple values
allow_multiple
Allow more than 1 value for this fieldmultilist0 = No
1 = Yes
0 (No)
max # values
max_values
The max number of values you wish to recordtext—0
Values per row
fields_box_placing
Save space by allowing multiple values to show per rowradio0 = 1
1 = Multiple
0 (1)
Add position
add_position
Select to add value inline (show add button at every value) or append them to the bottom of the value listmultilist0 = Append to bottom
1 = Inline append
2 = Inline prepend
3 = Inline both
3 (Inline both)

Fields not assigned to content type - or - fields without any form HTML​

OptionDescriptionTypeValuesDefault
Display
form_empty_fields
Hide / show fields that are not assigned to content type of current item form, and also fields without any form HTMLmultilist0 = No
1 = Yes
1 (Yes)
Custom text
form_empty_fields_text
Customize the text shown for empty / non-assigned fieldstext—FLEXI_NA (N/A)

Form Display​

OptionDescriptionTypeValuesDefault
Display label
display_label_form
Display or hide label of this fieldmultilist0 = No
1 = Floated left
2 = Cleared
-1 = As placeholder
1 (Floated left)
Label
label_form
Enter a label to use for item form that is different than field label for viewingtext——
No access message
no_acc_msg_form
Leave this blank to use system's default no access message, or enter a custom message for this fieldtext——

Layout​

OptionDescriptionTypeValuesDefault
Fields layout
formlayout
Please note: - do not modify default layouts, - custom layouts may need updating in future to respect new configuration and work properly - to create new copy (same folder): plugins/flexicontent_fields/FIELD_TYPE/tmpl/field_*.php as field_mytemplate.php - or to folder: /templates/SOME_NAME/html/flexicontent_fields/FIELD_TYPE/ and then modifyfclayoutlist = Default (Vertical placement)
flexbox = Flexbox (Horizontal placement with auto-wrap)
list (Default (Vertical placement))

Compact editing​

OptionDescriptionTypeValuesDefault
All values toggling
compact_edit_global
Enable this to show an all values toggler buttonradio0 = No
1 = Yes
0 (No)
Values toggling
compact_edit
Enable this to compact the display of every fieldgroup value, and save spacemultilist0 = No
1 = Yes, start collapsed
2 = Yes, start expanded
0 (No)
Fields always visible
compact_edit_excluded
You should select some fields to be always visible thus these will serve as a 'title' or 'referance' for easily finding a value, example if field group is a 'contanct' then 'Firstname' and 'Lastname' should always be visiblefields——

Layout parameters​

Editing​

Viewing​

Viewing​

Basic​

Display​

OptionDescriptionTypeValuesDefault
Show in clients
show_in_clients
Select if the field will be created and shown to specific clientsfccheckbox——
Show in views
show_in_views
Select if the field will be created and shown to specific viewsfccheckbox——

Label and access​

OptionDescriptionTypeValuesDefault
Display label
display_label
Display or hide label of this fieldradio0 = No
1 = Yes
1 (Yes)
Show no access message
show_acc_msg
When field is inaccessible a no access message will be shown. NOTE: IF this parameter is disabled, the field will be invisible to users with no access, without any message or warning that it existsmultilist0 = No
1 = Yes
0 (No)
No access message
no_acc_msg
Leave this blank to use system's default no access message, or enter a custom message for this fieldtext——

Export​

OptionDescriptionTypeValuesDefault
Include in CSV export
include_in_csv_export
Select to include field in CSV export. Take care that not all fields support CSV export. Please test to determine if this field is included properly, since a special method is needed but not implemented yet by all fieldsmultilist0 = No
1 = Raw values
2 = Rendered values
0 (No)
Strip HTML tags
csv_strip_html
—radio0 = No
1 = Yes
0 (No)

Backend View​

OptionDescriptionTypeValuesDefault
Backend view appearance
backend_view_appearance
How this field's value is displayed in the admin items list. Overrides the global 'Custom columns appearance' setting when not set to Default.multilist0 = Default
1 = Check mark
2 = Clean up HTML and trim
0 (Default)
Trim length (characters)
backend_view_trim_chars
Number of characters to keep after stripping HTML tags.text—100

Layout​

OptionDescriptionTypeValuesDefault
Values layout
viewlayout
Please note: - do not modify default layouts, - custom layouts may need updating in future to respect new configuration and work properly - to create new copy (same folder): plugins/flexicontent_fields/FIELD_TYPE/tmpl/value_*.php as value_mytemplate.php - or to folder: /templates/SOME_NAME/html/flexicontent_fields/FIELD_TYPE/ and then modifyfcfilelist——
Use customized HTML
display_mode
Select to display default or custom HTML specified below - default HTML inlcudes all fields of the group and their labelsmultilist0 = Layout
1 = Custom HTML
0 (Layout)
Custom HTML
custom_html
Leave blank for default, which include all fields with their labels, - or you can use custom HTML which supports: NOTE: you can use: {{fieldname}} or {{fieldname##displayvar}} -- is replaced with HTML display of each field {{fieldname##label}} -- is replaced with label of each field %%language_string%% -- is replaced with the language string {{value##count}} -- is replaced with (integer) position of current value Finally, you can use item properties like: {item->id}, {item->title}, etceditor——

Fields WITHOUT value​

OptionDescriptionTypeValuesDefault
Skip field (Label/empty html code)
hide_lbl_ifnoval
Select fields to hide labels if they have no value. NOTE: if using 'default HTML', then this will also skip fields that produced no HTML codefilters——

Value list​

Prefix - Suffix - Separator​

OptionDescriptionTypeValuesDefault
Preset configurations
prx_sfx_open_close_configs
This is a list of preset configurations, after loading them, you can click custom again to customize themmultilist— = Customize
1 = List: numbered
2 = List (bullets)
3 = List (circle)
4 = List (square)
5 = List (no marking)
—
Remove space
remove_space
Remove the space between prefix value and suffix. It's recommended for plugin use, for example {play}mysong.mp3{/play}radio0 = No
1 = Yes
0 (No)
Every value prefix
pretext
This text is placed immediately before every field valuetext——
Every value suffix
posttext
This text is placed immediately after every field valuetext——
Value separator (frontend views)
separatorf
Choose a separator to separate the values in frontend views (placed between values)multilist0 = Space
1 = Line break
6 = Horizontal line
2 = Pipe
3 = Comma
4 = Texts: Closing + Opening
5 = Empty (No characters)
7 = Custom separator
1 (Line break)
Custom separator
separatorf_custom
—text——
Opening text for Field
opentag
This applied once at the START of the field. It is meant to create the start of the field HTML, but above you can choose to place it as SEPARATING text of the values too. But prefer to use parameters: Prefix/Suffix text of values if they exist for this field type.text——
Closing text for Field
closetag
This applied once at the END of the field. It is meant to create the end of the field HTML, but above you can choose to place it as SEPARATING text of the values too. But prefer to use parameters: Prefix/Suffix text of values if they exist for this field type.text——

Content plugins​

Content Plugins -- You need this for description field, for other fields enable only if needed​

OptionDescriptionTypeValuesDefault
Trigger content plugins
trigger_onprepare_content
Enable this option if you want to trigger content plugin event: onPrepareContent. A small number of plugins may not work outside com_content.multilist0 = No
1 = Yes
0 (No)
Trigger inside category
trigger_plgs_incatview
Trigger content plugins on this field when item is displayed in a category viewradio0 = No
1 = Yes
0 (No)
Specific plugins only
plugins
You can choose specific plugins in this list or leave empty to trigger all. This feature is useful in some cases to avoid conflicts, multiple displays or reduce the load. Keep in mind that once the plugin is imported for a field, it will automatically be executed on all following fields in the loop.pluginlist——

Viewing​

SEO​

Microdata support​

OptionDescriptionTypeValuesDefault
Microdata type
fieldgroup_itemtype
Select a microdata type to that will characterize all items of the type. MICRODATA allow search engines to categorize your content appropriately, improving SEO of your pagesmicrodatatype——