[TYPO3-mvc] Fluid: how to render a multiple-select field as checkboxes?
David Bruchmann
david at bruchmann-web.de
Mon Apr 4 20:54:21 CEST 2011
Am 04.04.2011 20:38, schrieb François Suter:
>
> 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.
>
what's about a simple check like in_list(value,valueArrayfromSomewhere)?
As far as I understood only positiv values are stored and a search in
the list by position isn't possible because the position doesn't reflect
the corresponding checkbox-option.
Greets,
David
More information about the TYPO3-project-typo3v4mvc
mailing list