9 Posts
Ediconcept
4 years ago
Topic

Hello,

I have a multiple select field in my admin form. It works fine, it stores the several values selected separated with " ," in the database as expected. But in my content view, when I want to display the results in my article, it only shows one of the value, not the others. 

I probably missed something...

thanks,

Fred

Get a VIP membership
4229 Posts
Kadministrator
4 years ago
2
Level 1

If you add the same multiselect field as in the form also to the content view it should display a list of values (texts actually if you assign text/value pairs to the select options)

9 Posts
Ediconcept
4 years ago
1
Level 2

I found why it didn't work well, in the select options, I put "text = value" (with blanks before and after =) instead of "text=value". So, in the database it was stored "value1, value2", the presence of the blank was the reason why only one value was showned in the content view.

1283 Posts
Bucklash
4 years ago
0
Level 3

Nice update 

Get a Book for SEBLOD