[TYPO3-mvc] Fluid: how to render a multiple-select field as checkboxes?

François Suter fsu-lists at cobweb.ch
Mon Apr 4 20:38:31 CEST 2011


Hi,

> <API:>
> You can have between 1 and 10 checkboxes and the field type in the
> database must be an integer. No matter how many checkboxes you have each
> check box will correspond to a single bit in the integer value.
> </API>

Thanks, but it's not the way I'm using the checkboxes. Traditional TYPO3 
checkbox groups indeed do this thingy with setting individuals bits, but 
in my case what I try to have is the equivalent of a select-type field 
with checkbox rendering (per TCA). My checkboxes don't have numerical 
values, but strings and when I check both the result, as stored in the 
database, is only "fluid" and not "blood,fluid". Doing the same input 
via the BE results correctly in "blood,fluid". What I'm wondering is how 
this can be achieved with a Fluid-rendered form in the FE.

Cheers

-- 

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch


More information about the TYPO3-project-typo3v4mvc mailing list