[TYPO3-dev] $TCA TYPE: "inline" child field default value based on parent record field.
Koen Van Nuffelen
koen_typo3 at obiwebs.be
Wed Apr 15 00:06:12 CEST 2015
Good evening,
Is it possible to set the value of the parent record as the default
value of the child records?
Assume you have a general course 'Stress' with x (not default, but
entered by the user) minimum and x maximum participants.
When you create a child record, you want this x min and x max value as
the default value for the child record min and max values.
(They are mostly the same, but sometimes they can be different)
In this way the user doesn't have to fill them all the time.
Another example could be that you repeat the course Title in the child
records. In this way the user can find them more easily in the list view
if you set this title as label of the child records.
I see solutions when you copy a record, but not when you create a child
record.
Is this possible, or is there a better way to solve this situations?
Any advice or direction is really appreciated.
Greetings,
Koen
More information about the TYPO3-dev
mailing list