85 Posts
yuberlin
11 years ago
6
Topic

I have a content type with Multi-Select Lists. In Site View i have a List and Search Type showing the results. Is ist possible to use Simple-Lists for the List and Search View? So filling the Content Type with Muli-Select Lists and showing them (filter them) with Simple-Select Lists in Frontend?

Here is an example:

Content type is handling companies. Every company has two Multi-Select Lists in the form for services they are offering. The customer views a list of the companies on the website and can filter them by these Services.

The Problem: Customers dont need Multi-Select to choose services they are interested in. They just need simple select lists.
But getting the companies in the database by normal admin form, multi-select is need because theses companie offer more then one service.

So is there a way to use multi-select for admin form and single select to filter them in search form?

Get a Book for SEBLOD
85 Posts
Jpeg
11 years ago
0
Level 1

hi,

yes you can !

you can use differents display in search -> simple , radio , checkbox

You should create a new field as type you want in search form with the same storage of the main field :)

Have a nice day

Jpeg



85 Posts
yuberlin
11 years ago
3
Level 1

Works...thanks. One more question: Is it possible to use dynamic select to get the values of the multible select fields? 

Its more simple then, because i only have to edit 2 fields (not 4) when options are changing.


332 Posts
Kenneth
9 years ago
2
Level 2

Hi yuberlin and Jpeg,

I must miss something, I can't get this to work.

I've got a field created in the content type. Checkbox. The field is standard, article, fieldname.

In search I create a new simple select field and set storage to custom, free, and select the tabelcell that the values in the checkbox field is stored in. But it dosn't work.

I've tried permissive matc, exact word, any - with and without separator. 

No result, and I can see in my table that it has values.

85 Posts
Jpeg
9 years ago
1
Level 3

Hi Kenneth,

You have select "custom, free" so you need to use the same stockage as your select multiple field "article standard fieldname"


BR

Jpeg

332 Posts
Kenneth
9 years ago
0
Level 4

Thanks for answering, Jpeg. I actually got it working setting it to Standard->Free->Picking same storage as other field

11 years ago
0
Level 1

Hi all,

One more question: Is it possible to use dynamic select to get the values of the multible select fields?



For that, the better is to work with Joomla Categories and use the Select Dynamic to display categories which are in a parent category.
With that you can add new options when you want.

Regards.
Lionel

Get a Book for SEBLOD