[Typo3-dev] Select Boxes
John Begley
John.Begley at hummingbird.com
Fri Sep 24 16:56:42 CEST 2004
I have questions re Select boxes in TCEforms. I am using a flexform for a
frontend plugin which I have defined as follows:
<TCEforms>
<label>Select Documents</label>
<config>
<type>select</type>
<!--<autoSizeMax>20</autoSizeMax>--> <!-- doesn't seem to work -->
<size>8</size>
<maxitems>5</maxitems> <!-- how do we set no limit ?? -->
<minitems>1</minitems>
<!--<multiple>true</multiple>-->
<itemsProcFunc>user_populate_list</itemsProcFunc>
</config>
</TCEforms>
1) maxitems: When I configure a value here I get 2 boxes ("items" and
"selected") - but when I save my selections or change to a different sheet,
the selections disappear. Other types such as radio, and check, preserve
their settings.
2) Are all the elements under <config> supposed to work as if I defined
them directly in the $TCA array? For example <autoSizeMax> doesn't seem to
work as described.
3) I am retrieving my selections with the pi_getFFvalue() method, where I
get a string with comma separated values. Is this right? I am responsible
for tokenising this myself?
I really appreciate all the help I have been receiving.
John
More information about the TYPO3-dev
mailing list