[TYPO3-project-formidable] renderlet:CHECKSINGLE only works one way
Till Janetzki
till at literaturport.de
Mon Jan 12 20:00:02 CET 2009
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