[TYPO3-dev] pi_getFFvalue don't return an array (?)

Olivier Laurent olivier at trynisis.com
Mon Mar 2 14:57:09 CET 2009


Michael Miousse a écrit :
>
> Have you check the selected value in tt_content table
> under the field pi_flexform?
>
> is the saved value a comma-separated list or the total of selected item?
>   
Hi and thank you for your help

It is the total of the selected items
when I
select pi_flexform from tt_content;
I get (categorieslist is the faulty field):

<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<T3FlexForms>
    <data>
        <sheet index="sDEF">
            <language index="lDEF">
                <field index="modeBrowse">
                    <value index="vDEF">category</value>
                </field>
                <field index="categorieslist">
                    <value index="vDEF">3</value>
                </field>
            </language>
        </sheet>
        <sheet index="display">
            <language index="lDEF">
                <field index="result_output">
                    <value index="vDEF"></value>
                </field>
            </language>
        </sheet>
        <sheet index="error">
            <language index="lDEF">
                <field index="show_errors">
                    <value index="vDEF">0</value>
                </field>
                <field index="prepend_text">
                    <value index="vDEF"></value>
                </field>
            </language>
        </sheet>
    </data>
</T3FlexForms> |
+---------------

This is weird from my newbie perspective Imho. the TCEform lists 
correctly the selected items so it must be stored somewhere.




More information about the TYPO3-dev mailing list