[TYPO3-english] TCA conditional selects
Jigal van Hemert
jigal at xs4all.nl
Thu Mar 4 17:20:57 CET 2010
Francois Suter wrote:
>> Is it possible with tca to have conditional select inputs, for example,
>> in first one I select country and in the second one only cities from
>> selected country is listed? I cannot find any example with it :/
>> If it is not possible maybe there is other solution to handle this?
>
> Look at:
> http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.2.0/view/4/2/#id4272080
>
> and scroll down to the description of "foreign_table_where". What you
> probably want in your case is to use the ###REC_FIELD_[fieldname]###
Combined with a onChange reload for the first field (with the countries)
you can easily update the second list when the selection in the first
one changes.
--
Jigal van Hemert.
More information about the TYPO3-english
mailing list