[TYPO3-mvc] checkbox problem

Christian Kartnig office at hahnepeter.de
Wed Aug 17 11:53:50 CEST 2011


>
> I remember having issues with checkboxes and using:
>
>> $newObject['propertyname'] = TRUE;
>> $newObject['propertyname'] = FALSE;
>
> in the respective action in the controller.
>
> Henjo
>

Hi Henjo,

thanks for your answer! The problem is, I can't set the values in the 
controller, because the object is modified before it reaches the 
controller and hangs in the validation process, where the form gets 
displayed again.

Valentin just posted a solution that works for me.

best regards,
Christian


More information about the TYPO3-project-typo3v4mvc mailing list