[TYPO3-english] TCA conditional selects

Francois Suter fsu-lists at cobweb.ch
Thu Mar 4 17:02:07 CET 2010


Hi,

> 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]### 
marker, but I never tried that myself.

HTH

-- 

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch


More information about the TYPO3-english mailing list