[TYPO3-project-formidable] renderlet:CHECKSINGLE only works one way
Jerome Schneider
typo3dev at ameos.com
Fri Jan 16 15:58:11 CET 2009
Hello,
I checked and your statement is correct. It is a bug resulting in some
restructurations inside the framework.
I fixed it and it should be operable in revision 291.
Thank you very much,
Jerome
Till Janetzki a écrit :
> Hello Michael,
> thank you for your fast answer!
>
> I just added a line like
>
> if (!($aData['FIELDNAME'])) $aData['FIELDNAME'] = 0;
>
> in the <beforeInsertion> section of the datahandler and now it works
> just as intended.
>
> In the long run will CHECKSINGLE adopt this kind of behaviour as it's
> default ? Because you need it for every editing form where you allow
> someone to change old (checkbox) values. While it´s not that time
> consuming to add an extra line per box, it's nice not to have to think
> about it :)
>
> Best regards,
> Till
>
>> when the checkbox is not checked, the input does not sumbit 0, its
>> simply not submited
More information about the TYPO3-project-formidable
mailing list