Feature #25223

Epic #62041: twbs Bootstrap backend, refactor EXT:t3skin and HTML5 output

Epic #62836: FormEngine PHP/HTML Improvements & Bootstrap

Enable TCA property displayCond for IRRE child records

Added by Oliver Hader over 9 years ago. Updated almost 5 years ago.

Should have
Target version:
Start date:
Due date:
% Done:


PHP Version:
Sprint Focus:


Imagine that particular fields of an IRRE child record shall only be shown depending on a value in the parent record. Currently there is no easy way to access evaluate the parent record and define a behaviour.

For Flexforms a similiar solution with displayCond is available, e.g.:


However, it's problematic if the parent record is brand new and was not saved yet. In that case the field values of the parent should be transfered to the server side with the accordant AJAX request.

(issue imported from #M17824)

typo3-6.1.1-displayCond.patch View (4.92 KB) David Frerich, 2013-07-02 15:21


#1 Updated by Andreas Kiessling over 9 years ago

Are there any news on that issue? I would need that functionality right now :) But it will probably not make it into 4.5 anymore?

#2 Updated by Xavier Perseguers over 9 years ago

  • Target version changed from 4.6.0 to 4.6.0-beta1

#3 Updated by Xavier Perseguers about 9 years ago

  • Target version deleted (4.6.0-beta1)

#4 Updated by Thomas Deinhamer almost 9 years ago

Is this going to be in 4.7?

#5 Updated by Dominic Garms over 8 years ago

Hello, will it make its way to 4.7? I would need it right now too... :)

#6 Updated by Georg Ringer over 8 years ago

doesn't look like there is a patch for it yet .. wanna do it or at least sponsor it?

#7 Updated by Thomas Deinhamer about 8 years ago

This would be really useful! Any progress on this? Thanks for feedback!

#8 Updated by David Frerich over 7 years ago

I've written a small patch for TYPO3 6.1.1 to implement this feature.

- Currently only "group"-Fields work
- It's only working if the records have been saved into the database (see the initinal comment)
- When more than one value exists (comma seperated uids in database), the first is taken

to use:



Fieldname could be anything, any field name you want, that's a TCA Column of type="group"

to discuss:
- Field with multiple values / MM relations -> ignore? take the first value? compare all?
I think it would suffice to pick the first value / record for comma-seperated fields and ignore MM-Relations

to do's:
- Has to work for "select" and "inline" if no MM-Table is definied
- Brand new records should provide data for the ConditionMatcher

#9 Updated by Lorenz Ulrich about 6 years ago

This would be a useful one for 7.0

#10 Updated by Felix Kopp almost 6 years ago

  • Parent task set to #62836

#11 Updated by Arek van Schaijk over 5 years ago

I like to have this feature as well

#12 Updated by Christian Kuhn almost 5 years ago

  • Status changed from Accepted to Rejected

this will not make it to 7. one of the main issue is indeed that - if parent is not persisted yet - the record data is not available at all during inline ajax request. actually, at the moment, parent is never available since parent is not fetched in inline new/open ajax context at all. there are more issues with parent overriding child data or tca depending on parents state, and none of that is solved.

solving this in a sane way will require way more thoughts if this is ever possible or wanted. an additional issue i see here is that a feature like this would render the very complex inline setup even more complex. i'm seriously not sure if we really should allow such stuff at all.

this issue should be solved differently - there are for instance the foreign_types "overrides" available to show different fields depending on which parent field the child is assigned to: one field per relation then to configure different child behavior. fal uses this for instance.

be prepared that this issue will probably not be solved in the near future. and if so, it will probably come along with a bigger tca syntax change.

i'll close this issue as rejected for now.

#13 Updated by Christian Kuhn almost 5 years ago

  • % Done changed from 0 to 100

Also available in: Atom PDF