[TYPO3] onChange in a $TCA select

Dmitry Dulepov typo3 at accio.lv
Sun Sep 10 13:46:10 CEST 2006


Hi!

Jesús H. wrote:
> Is there a way to do an onChange on a $TCA of the type select?

Yes.

> I want to change a second dropdown depending of the first dropdown that 
> will have that onChange, like when you add a content element and change 
> from TEXT to TEXT/IMAGE that changes the layout.

TemplaVoila does this, for example. Read "typo3 core API", it is 
described there. Look for "requestUpdate" in [ctrl] section.

-- 
Dmitry Dulepov
http://typo3bloke.net/

"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)



More information about the TYPO3-english mailing list