This site uses cookies and similar technologies.

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

I understand
9 Posts
Ediconcept
3 months 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
3 months 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
3 months 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.

1200 Posts
Bucklash
3 months ago
0
Level 3

Nice update 

Get a Book for SEBLOD