[TYPO3-dev] how to update a flexform on a select change

Dmitry Dulepov dmitry at typo3.org
Thu Apr 9 18:02:48 CEST 2009


Hi!

Henjo Hoeksma wrote:
> thanks for the keywords. The requestUpdate I found, the onChange I
> didn't - and that's more what I need.

Here in an example of flexform DS field:

<code>
	<TCEforms>
		<label>LLL:EXT:calis_namecal/pi1/locallang.xml:tt_content.tx_calisnamecal_pi1.code</label>
		<onChange>reload</onChange>
		<config>
			<type>select</type>
			<items>
..............
			</items>
		</config>
	</TCEforms>
</code>

When the value changes, the form will prompt to reload.

-- 
Dmitry Dulepov
In TYPO3 blog: http://dmitry-dulepov.com/article/typo3-seo-keep-your-links-working.html
Twitter: http://twitter.com/dmitryd
Skype: liels_bugs




More information about the TYPO3-dev mailing list