Project

General

Profile

Actions

Feature #46124

closed

IRRE: Provide default values for created records

Added by Sebastian Michaelsen over 11 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
Start date:
2013-03-08
Due date:
% Done:

100%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Let's say you have an IRRE fields that hold's tt_content records and in this context mostly you want to use the "Image" CE.

AFAIK there is no possibility to provide default values for IRRE fields. So I'd like to introduce 'foreign_table_defaultValues' as new option for 'inline' elements:

config => array(
  'type' => 'inline',
  'foreign_table' => 'tt_content',
  'foreign_table_defaultValues' => array(
    'CType' => 'image'
  ),
)
Actions

Also available in: Atom PDF