selection from a checkbox/valuelist

I want to select more than one item via a field with checkboxes with an attached valuelist.

The valuelist is built from a relationship, showing a name and selecting an id.

The names are shown like expected. I can also select more than one value but only the first value/id is remembered. The rest is gone…

This is not what I expected

what is the datatype where you want to store the selection?

integer… and that probably is the answer to my question… I have to make it a textarea.

not a textarea (thats a gui element) but a string yes
Because we can’t store more than one value in a integer.. only in a string