[TYPO3-templavoila] Wrapping input field

Redvald Hjulstad redvald at hjulstad.no
Mon Oct 13 19:59:50 CEST 2008


I have a input field that I would like to wrap in a p tag if there is 
anthing in it. My code is like this:

<field_undertekst type="array">
<tx_templavoila type="array">
<sample_data type="array">
<numIndex index="0"></numIndex>

10 = TEXT
10.current = 1
10.fieldRequired = field_undertekst
10.wrap = <p class = "bildeundertekst">|</p>

<proc type="array">
<HSC type="integer">1</HSC>
<TCEforms type="array">
<config type="array">



The problem is that the <p class = "bildeundertekst">|</p> is outputted 
as text on the HTML page, and not as HTML in the source.



More information about the TYPO3-project-templavoila mailing list