[TYPO3-project-formidable] Renderlet CHECKBOX bug?

Manuel Rego Casasnovas mrego at igalia.com
Tue May 22 13:38:39 CEST 2007


Hi everyone!

I'm using the CHECKBOX renderlet, I want to store the information from
this renderlet in a database table but this doesn't work.
The SQL query is the next:
UPDATE tx_myext_table
SET
test='Array'               # Here is the problem
WHERE
uid = '8'

I think that the correct SQL query would have to be (if the user select
test0, test2 and test3):
UPDATE tx_myext_table
SET
test='0,2,3'
WHERE
uid = '8'

The renderlet code is:
    <renderlet:CHECKBOX name="test">
      <data>
        <items>
          <item caption="test0" value="0" />
          <item caption="test1" value="1" />
          <item caption="test2" value="2" />
          <item caption="test3" value="3" />
          <item caption="test4" value="4" />
          <item caption="test5" value="5" />
        </items>
      </data>
    </renderlet:CHECKBOX>

I don't know if this is a bug or not.
Somebody knows any solution for this?

Best regards,
   Rego

-- 
http://www.igalia.com


More information about the TYPO3-project-formidable mailing list