Hallo, ich versuche, ein Feld beim kopieren einer Zeile auszuschließen. Das ist ja die einzige möglichkeit beim MCW neue Zeilen hinzuzufügen. Da es aber einen save-Callback gibt der ein Feld automatisch füllt, ähnlich den aliasen, muss das Feld leer sein oder explizit etwas eingetragen. doNotCopy geht aber leider nicht... So sieht das aktuell aus:
PHP-Code:
'eval' => array
(
'columnFields' => array
(
'rm_latlng' => array
(
'label' => &$GLOBALS['TL_LANG']['tl_content']['rm_latlng'],
'exclude' => true,
'inputType' => 'text',
'eval' => array('style' => 'width:100px', 'doNotCopy' => true),
),
'rm_city' => array
(
'label' => &$GLOBALS['TL_LANG']['tl_content']['rm_city'],
'inputType' => 'text',
'eval' => array('mandatory'=>true, 'style'=>'width:100px')
),
'rm_type' => array
(
'label' => &$GLOBALS['TL_LANG']['tl_content']['rm_type'],
'inputType' => 'text',
'eval' => array('style'=>'width:120px')
),
'rm_size' => array
(
'label' => &$GLOBALS['TL_LANG']['tl_content']['rm_size'],
'inputType' => 'text',
'eval' => array('style'=>'width:40px')
),
'rm_portfolio' => array
(
'label' => &$GLOBALS['TL_LANG']['tl_content']['rm_portfolio'],
'inputType' => 'textarea',
'eval' => array('style'=>'width:200px')
),
)
),
Hat jemand eine Idee wie ich das lösen könnte? es geht um das Feld rm_latlng
Lesezeichen