Skip to main content

Select multiple

Select List Multiple Field Plugin for FLEXIcontent

Plugin : selectmultiple — Select Multiple

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

Editing​

Editing​

Values​

OptionDescriptionTypeValuesDefault
Use field in a group
use_ingroup
Enable to allow field to be part of field group, that is created via 'Field Group' field. NOTE: You should then select this field in ONLY ONE field groupmultilist0 = No
1 = Yes
0 (No)

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)
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)

Options per value​

OptionDescriptionTypeValuesDefault
max # options
max_values
The max number of options that can be selected in each value of the fieldtext—0
min # options
min_values
The min number of options that must be selected in each value of the fieldtext—0
exact # options
exact_values
The exact number of options that must be selected in each value of the fieldtext—0

Values Creation​

OptionDescriptionTypeValuesDefault
Default values
default_values
Choose default values or leave blank for none. TAKE CARE, values must be chosen from the field elements VALUES you defined above. You must provide a COMMA separated list.text——
Usage of default
default_value_use
Select when these default property value will be usedlist0 = Load when editing new items, (requires saving)
1 = Load when editing all items, (requires saving)
2 = The above & also display it instead of empty
0 (Load when editing new items, (requires saving))
Use SQL query
sql_mode
This mode allows you to build the list dynamically with SQL queries. If you select this mode, put your query in the field elements. It must return COLUMNs: 'value', 'text' and optionally 'image' and 'valgrp', for example: SELECT id AS value, name AS text FROM #__users NOTE, you can put replacements like: Item data: {item->created_by} {item->catid} Field data: {field->id} Language: {curr_userlang_shorttag} {curr_userlang_fulltag}multilist0 = No
1 = Yes
0 (No)
Field elements
field_elements
SQL: SELECT ... AS value, ... AS text, ... AS image, ... AS valgrp ... Element list: value1::label1::imageFile1::masterValue1%% value2::label2::imageFile2::masterValue2%% ... NOTE 1: - 'imageFile*' are filenames / CSS clases used only by radio/checkbox image fields - 'masterValue*' are used if field depends on a master field NOTE 1: When adding 'masterValue', then enter 'imageFile' too, e.g. NONE NOTE 2: The names can be language strings (You can add them to your language files or to Joomla language overrides manager)fcsortablelist—1::Yes%% 0::No%%

Optional element properties​

OptionDescriptionTypeValuesDefault
State
use_elements_state
Enable to allow individual elements to be archived / unpublished / trashed, while keeping existing values assignments in content itemsmultilist0 = No
1 = Yes
0 (No)

Depends on master field​

OptionDescriptionTypeValuesDefault
Master field
cascade_after
When master field changes this field will load values that depend on the value select on the master field, e.g. master field is 'Country' and this field is 'City'fields——
Select master message
cascade_prompt
A prompt to ask user to select a value in the master field, so that this field loads dependent valuestext——
Type
image_type
Select if 'image' will be an image filename (e.g. image1.png) or an font icon class (e.g. icon-mail, icon-lamp)hidden——
Image directory
imagedir
Folder containing the image fileshidden——
Icon size
icon_size_form
—hidden——
Icon color
icon_color_form
—hidden——

Automatic value creation​

note

Flexicontent PRO version only

OptionDescriptionTypeValuesDefault
Automatic value
auto_value
Enable to create the value of this field automatically on item form save. In some cases, you might want to enable option of hiding this field in frontend or backend or both item formsmultilist0 = No
2 = Use custom code
0 (No)
Custom code
auto_value_code
Enter PHP code to be used create the custom value, please set to empty and save to load the default example, and then customizeeditor—fields; if ( !isset($F['fieldname01']) ) return array('fieldname01 field not found'); $vals = array(); foreach($F['fieldname01']->postdata as $i => $v) { $vals[$i] = 'Auto : ' . $v; } return $vals;

Form field​

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——
Apply JS library
use_jslib
Enable javascript handling/styling on the form field, to allow better appearance e.g. prettyCheckable for checkboxes and more user friendly behaviour e.g. select2 JS for drop-down selectsmultilist0 = No
1 = Select2
1 (Select2)
Values display
form_vals_display
Select to show label, image or bothhidden——
Field size
size
Field size in the HTML formtext—6
Sortable
sortable
Allow sorting of valuesradio0 = No
1 = Yes
0 (No)

Prompt (Empty option)​

OptionDescriptionTypeValuesDefault
Add prompt
usefirstoption
Enable this to add an empty option to the form field (this acts as prompt to select an non-empty option)multilist0 = No
1 = Yes
1 (Yes)
Prompt Text (e.g. Select)
firstoptiontext
Text of the empty option of the form field e.g. 'Select color' etc. NOTE: This option has no value NOTE: This text is language-filtered so you can enter a language replaceable stringtext—FLEXI_PLEASE_SELECT (Please select)

Prefix - Suffix - Separator​

OptionDescriptionTypeValuesDefault
Opening text for Field
opentag_form
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_form
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——

Import​

Manipulate values during import​

note

Flexicontent PRO version only

OptionDescriptionTypeValuesDefault
Remap Values
import_fv_remap_mode
Enable to change some imported values to some other values.multilist0 = No
1 = Yes
0 (No)
Value Remappings
import_fv_remap
Enter like importValue1::realValue1%% importValue2::realValue2%% importValue3::realValue3%%textarea——
Values manipulation
import_fv_ccode_mode
Execute custom methods to manipulate field valuesmultilist0 = No
2 = Use custom code
0 (No)
Custom code
import_fv_ccode
Enter PHP code to be used create the custom value, please set to empty and save to load the default example, and then customizeeditor—parameters->get('some_param'); foreach($values as $i => $v) { $values[$i] = 'Example ' . $i . ' : ' . $v; } return $values;

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 fieldsradio0 = No
1 = Raw values
2 = Rendered values
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——

Value display​

OptionDescriptionTypeValuesDefault
Language filter labels
lang_filter_values
Apply language filter JText::_() on the labels, the labels must be language strings, either added in a language file, or added by Joomla language overrides managerradio0 = No
1 = Yes
1 (Yes)
Frontend display
text_or_value
Choose if you wish to display value or label or other (e.g. image) in frontendmultilist0 = Value
1 = Label
1 (Label)
Icon size
icon_size
—hidden——
Icon color
icon_color
—hidden——
Display non-selected values
display_all
This enables the display of all available field values (thus non-selected values too), the non-selected values will be styled so us to appear disabled, e.g. striked through text for text values (fields: radio, checkbox, select, selectmultiple, etc) or low opacity for image values (fields: radioimage, checkboximage, etc)radio0 = No
1 = Yes
0 (No)

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)
6 = Badge
7 = Badge success
8 = Badge info
9 = Badge warning
10 = Badge important
—
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——

Non-Selected Values​

OptionDescriptionTypeValuesDefault
Prefix text of non-selected values
ns_pretext
This text is placed immediately before every non-selected field valuetext——
Suffix text of non-selected values
ns_posttext
This text is placed immediately after every non-selected field valuetext——

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 property
microdata_itemprop
Select a microdata property to characterize all values of this field. This will allow search engines to categorize values of this field appropriately, improving SEO of your pagesmicrodataprops——

Filtering​

Parameters used for filtering in (a) Category-based views , (b) search view

Filtering​

Values​

Filter values creation​

note

Take care to create proper SQL query or elements -- NOTE: 'value' part of elements/query must match existing field values

OptionDescriptionTypeValuesDefault
Custom Retrieval of Filter Values
filter_customize_options
Select to use all text field values for filter, or define a custom sql query to use some of them and maybe modify display selection of the (text property in query)multilist0 = No, use all values (default)
1 = Use custom query
2 = Use custom elements
0 (No, use all values (default))
Custom Elements or SQL Query
filter_custom_options
Custom elements or SQL query. For custom elements, the syntax is the following: value1::label1%% value2::label2%% For SQL query, enter: SELECT value, value as text FROM #__flexicontent_fields_item_relations WHERE field_id='{field_id}' AND value != '' GROUP BY value You can put replacements: for current field data: {field->id} {field->field_type} NOTE: The names will be passed through JText ... to allow multilanguage support (You can add them to your language files) _SELECT value, value as text FROM #_flexicontent_fields_item_relations WHERE field_id='{field->id}' AND value != '' GROUP BY valuetextarea——

Filter value comparison​

OptionDescriptionTypeValuesDefault
Filter value comparison
filter_compare_type
Filter values can be compare as alphanumeric or as numeric (integer/float)radio0 = Alphanumeric
1 = Integer
2 = Float
0 (Alphanumeric)
note

... if field is multi-valued (item form) ... and has a multi-valued filter appearance

OptionDescriptionTypeValuesDefault
Require ALL selected values
filter_values_require_all
Usually you will include items found to have any of the selected values. -- You can select to require all selected filter values to be matched for the found items. -- WARNING to developers of new field types: this will not work properly if your field saves SAME field value more than once for the same item. So in such a case do not add this option to your field !radio0 = No
1 = Yes, slower
0 (No)
Require ANY / ALL inline tip
filter_values_require_all_tip
Select to show information if ANY or ALL selected filter values of this filter are requiredradio0 = Hide
1 = Show
0 (Hide)

Category-based views​

Form field​

OptionDescriptionTypeValuesDefault
Show filter label
display_label_filter
You can disable filter label or set it to appear at the before (left) of the filter or inside the filter. NOTE: This setting can be overridden in category filtering settings for ALL category filters at onceradio0 = No
1 = Outside Filter
2 = Inside Filter
2 (Inside Filter)
Display Filter as
display_filter_as
Select appearance/behavior of the filtermultilist0 = Drop-down selector
1 = Text Search
7 = Slider
2 = Drop-down selector (range)
3 = Text Search (range)
8 = Slider (range)
4 = Radio options
5 = Checkboxes (multi)
6 = Tag-like selector (multi)
0 (Drop-down selector)
Faceted Filter values according to ...
faceted_filter
Calculate the displayed filter values according to either page configuration or according to active Filters. OPTION: Disable this to show all values and achieve high performance in large sites (more than 10,000 items per category or more than 10,000 items in search index). OPTION: Page configuration is cacheable and will have a small performance impact on first page load (for large sites) -- this option displays filter values by considering only category configuration and/or (category/search view) menu item configuration. OPTION: Active filters is not cacheable and it will have a moderate performance impact on every page load (large sites) when (and if) user activates some filters. -- this option displays filter values by considering everything: alpha-index, text search, field filters, etc, thus offering best user experience.multilist0 = No, show all values (high performance)
1 = Page configuration (fast & cacheable)
2 = Active filters (best user experience)
2 (Active filters (best user experience))

'Active filters' Faceted Filter (set above)​

OptionDescriptionTypeValuesDefault
Show matching items per filter value
show_matching_items
Enable this to append the number of matching items after each filter value. NOTE: this makes no sense when filter is displayed as range or as text input, thus it is not displayedradio0 = No
1 = Yes
1 (Yes)
Unavailable values for faceted filter using active filters
hide_disabled_values
Select to EITHER disable OR hide the non-available values. NOTE: This effects values that are non-available due to active filters. NOTE: This work only if you are displaying filter values according to active filters (above)radio0 = Disable
1 = Hide
0 (Disable)
OptionDescriptionTypeValuesDefault
Customize default option (all values)
filter_usefirstoption
Enable to customize the first option of the filter (=all values) . NOTE: this is used only in the case of Drop-Down Select, and also if field label is not placed inside the selectormultilist0 = No
1 = Yes
0 (No)
Default Option Text (e.g. All colours)
filter_firstoptiontext
Text of first option of the Drop-Down Select e.g. 'All colours' or FLEXI_ALL etc. NOTE: This option has no value NOTE: This text is language-filtered so you can enter a language replaceable stringtext—FLEXI_ALL (All)

Slider​

OptionDescriptionTypeValuesDefault
Slider data
slider_display_config
Either use found field values, or specify your custom range of valuesmultilist1 = Found values
2 = Custom values
1 (Found values)
Custom values
slider_custom_range
Custom range of values, please use values that exist in the field !, for format, see example format, enter comma separated values: percentage%: 'value', and instead of 0% or 100%, you must use 'min': 'value' and 'max':'min': 'value'textarea—'min': '', '25%': '50', '50%': '150', '75%': '600', 'max': ''
Custom labels
slider_custom_labels
Custom labels to match the values, please enter a ## separated labels without start/end quotestextarea—label_any ## label_50 ## label_150 ## label_600 ## label_any
Labels are language strings
slider_custom_labels_jtext
Set this to yes to treat labels as language strings, remember to add these to your Joomla language overrides manager or in other loaded language filesradio0 = No
1 = Yes
0 (No)

Prefix / Suffix​

OptionDescriptionTypeValuesDefault
Every value prefix
pretext_filter
This text is placed immediately before every field valuetext——
Every value suffix
posttext_filter
This text is placed immediately after every field valuetext——
Opening text for Field
opentag_filter
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_filter
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——

Advanced Search View​

Form field​

OptionDescriptionTypeValuesDefault
Show filter label
display_label_filter_s
You can disable filter label or set it to appear at the before (left) of the filter or inside the filter. NOTE: This setting can be overridden in category filtering settings for ALL category filters at onceradio0 = No
1 = Outside Filter
2 = Inside Filter
2 (Inside Filter)
Display Filter as
display_filter_as_s
Select appearance/behavior of the filtermultilist0 = Drop-down selector
1 = Text Search
7 = Slider
2 = Drop-down selector (range)
3 = Text Search (range)
8 = Slider (range)
4 = Radio options
5 = Checkboxes (multi)
6 = Tag-like selector (multi)
0 (Drop-down selector)
Faceted Filter values according to ...
faceted_filter_s
Calculate the displayed filter values according to either page configuration or according to active Filters. OPTION: Disable this to show all values and achieve high performance in large sites (more than 10,000 items per category or more than 10,000 items in search index). OPTION: Page configuration is cacheable and will have a small performance impact on first page load (for large sites) -- this option displays filter values by considering only category configuration and/or (category/search view) menu item configuration. OPTION: Active filters is not cacheable and it will have a moderate performance impact on every page load (large sites) when (and if) user activates some filters. -- this option displays filter values by considering everything: alpha-index, text search, field filters, etc, thus offering best user experience.multilist0 = No, show all values (high performance)
1 = Page configuration (fast & cacheable)
2 = Active filters (best user experience)
2 (Active filters (best user experience))

'Active filters' Faceted Filter (set above)​

OptionDescriptionTypeValuesDefault
Show matching items per filter value
show_matching_items_s
Enable this to append the number of matching items after each filter value. NOTE: this makes no sense when filter is displayed as range or as text input, thus it is not displayedradio0 = No
1 = Yes
1 (Yes)
Unavailable values for faceted filter using active filters
hide_disabled_values_s
Select to EITHER disable OR hide the non-available values. NOTE: This effects values that are non-available due to active filters. NOTE: This work only if you are displaying filter values according to active filters (above)radio0 = Disable
1 = Hide
0 (Disable)
OptionDescriptionTypeValuesDefault
Customize default option (all values)
filter_usefirstoption_s
Enable to customize the first option of the filter (=all values) . NOTE: this is used only in the case of Drop-Down Select, and also if field label is not placed inside the selectormultilist0 = No
1 = Yes
0 (No)
Default Option Text (e.g. All colours)
filter_firstoptiontext_s
Text of first option of the Drop-Down Select e.g. 'All colours' or FLEXI_ALL etc. NOTE: This option has no value NOTE: This text is language-filtered so you can enter a language replaceable stringtext—FLEXI_ALL (All)

Slider​

OptionDescriptionTypeValuesDefault
Slider data
slider_display_config_s
Either use found field values, or specify your custom range of valuesmultilist1 = Found values
2 = Custom values
1 (Found values)
Custom values
slider_custom_range_s
Custom range of values, please use values that exist in the field !, for format, see example format, enter comma separated values: percentage%: 'value', and instead of 0% or 100%, you must use 'min': 'value' and 'max':'min': 'value'textarea—'min': '', '25%': 500, '50%': 2000, '75%': 10000, 'max': ''
Custom labels
slider_custom_labels_s
Custom labels to match the values, please enter a ## separated labels without start/end quotestextarea—label_any ## label_500 ## label_2000 ## label_10000 ## label_any
Labels are language strings
slider_custom_labels_jtext_s
Set this to yes to treat labels as language strings, remember to add these to your Joomla language overrides manager or in other loaded language filesradio0 = No
1 = Yes
0 (No)

Prefix / Suffix​

OptionDescriptionTypeValuesDefault
Every value prefix
pretext_filter_s
This text is placed immediately before every field valuetext——
Every value suffix
posttext_filter_s
This text is placed immediately after every field valuetext——
Opening text for Field
opentag_filter_s
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_filter_s
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——

Filtering​