Hi Folks,
I followed the hints on topic Display field concat values show up in List View
table: KHTSP
linkfield: SP
display: SPNAME - longname according to "SP"
I have to allow multiple selection.
I use a dropdown to EDIT and ADD the field "SP". This is working fine.
Only on the List page I want to display the raw value of the field "SP".
I set the view as settings of the field SP to custom an placed the code
$value = $data['SP'];
.
If the database field has one entry ('REA') the this is displayed once on list page --> 'REA'
If the dbfield has two entries ('REA,V&T') then both are displayed twice. --> 'REA,V&T,REA,V&T'
If th dbfield has three entries ('FDFK,REA,V&T') then the field on the listpage is diplayed as a tripple. --> ('FDFK,REA,V&T,FDFK,REA,V&T,FDFK,REA,V&T')
..and so on!
My feeling is that this comes from the sql statement. I could not manage to find the reason or solve this.
Please help me. Any hints are welcome
greetings peter