[TYPO3-templavoila] FCE: Selector Box: Value is not allowed

Steffen Kamper info at sk-typo3.de
Fri Feb 13 17:37:12 CET 2009


Hi Hauke,

Hauke Hain schrieb:
> Hi Steffen,
> 
> I do not want to display numbers but the text which I implemented there.
> But if only integer values can be set as the value, I do not have a 
> chance to override it via TypoScript, do I?
>

selects contain a pair. The first is the label (display), the second the 
value which will be submitted. I talk about the value, label can be the 
text.


> Sincerely,
> Hauke
> 
> PS: What does "vg" stands for?

i'm used to it, its (german) viele gruesse

vg Steffen

> 
> "Steffen Kamper" <info at sk-typo3.de> schrieb im Newsbeitrag 
> news:mailman.1.1234535797.29792.typo3-project-templavoila at lists.netfielders.de... 
> 
>> Hi Hauke,
>>
>> first it would be nice if you use full name in your profile instead 
>> just "Hauke"
>>
>> try to use integers for the value, this is normally done 
>> (label/value-pair)
>>
>> vg Steffen
>>
>> Hauke schrieb:
>>> Hi,
>>>
>>> I have a FCE where I have a Selector Box with the following values:
>>>
>>>    <TCEforms type="array">
>>>     <config type="array">
>>>      <type>select</type>
>>>      <items type="array">
>>>       <numIndex index="0" type="array">
>>>        <numIndex index="0">Angabe in Textfeld / input in 
>>> textfield</numIndex>
>>>        <numIndex index="1"></numIndex>
>>>       </numIndex>
>>>       <numIndex index="1" type="array">
>>>        <numIndex index="0"><![CDATA[Gebundenes Buch, 192 Seiten, 12,2 
>>> x 18,8 cm]]></numIndex>
>>>        <numIndex index="1"><![CDATA[Gebundenes Buch, 192 Seiten, 12,2 
>>> x 18,8 cm]]></numIndex>
>>>       </numIndex>
>>>       <numIndex index="2" type="array">
>>>        <numIndex index="0"><![CDATA[Hardcover, 192 pages, 12,2 x 18,8 
>>> cm]]></numIndex>
>>>        <numIndex index="1"><![CDATA[Hardcover, 192 pages, 12,2 x 18,8 
>>> cm]]></numIndex>
>>>       </numIndex>
>>>      </items>
>>>      <default>0</default>
>>>     </config>
>>>     <label>Format Dropdown</label>
>>>    </TCEforms>
>>>
>>> If I use another Element than default I always get the text 
>>> "Aktueller Wert ist nicht erlaubt / value is not allowed here" after 
>>> saving.
>>>
>>> Do you know what the reason could be?
>>>
>>> Sincerely,
>>> Hauke 
> 


More information about the TYPO3-project-templavoila mailing list