This site uses cookies and similar technologies.

If you don't change browser settings, you agree to it.

I understand
A field "select multiple" (or multiple drop-down list) creates a menu (or list) multiple choice, hold down 'CTRL' on your keyboard for the multiple selection.

Definition

A field "select multiple" (or multiple drop-down list) creates a menu (or list) multiple choice, hold down 'CTRL' on your keyboard for the multiple selection.

An option consists of a part "text" and part "value", the "text" is the text displayed on the form and the "value" is the value recorded (likely to be used in a search).

select_multiple

Settings

select_multiple_settings

Common Plugin Settings (Link to the article)

Construction

Options

Write at least one option of the list. The format is text = value. If an option contains only "value" or "text" then the 2 have the same value.
  • If the field is used in a search form, the search is performed only on the "value".
  • If several options are selected, the stored value is the concatenation of all values of selected options, separated by commas "," or other character designated by the parameter "Separator".
A value must be unique and should not be contained in another value. For example, we should not write the options in January=1 and November=11 but January=01 and November=11. Thus, the values associated with January and November are different and any research on this field work.

Default Value

Optional, write the default option, by copying only the value of an option already assigned to this field. It is applied to the first load the form.
(Override) The default value of a field is overwritten by the value entered directly into the editing interface for a content type.

Ordering

Optional, select an option of this setting to order "checkbox" options:
  • Option1 (Following option): to maintain the existing order,
  • Option2 (Alphabetical A > Z): order the options in ascending alphabetical order (A-> Z), consider the "text" part of the option,
  • Option3 (Alphabetical Z > A): order the options in descending alphabetical order (Z-> A).

Rows

Write the number of visible options.