TCA.php - Auswahlbox
"data_typ" => Array (
"exclude" => 1,
"label" => "LLL:EXT:et_contact_new/locallang_db.xml:tx_etcontactnew_fields.data_typ",
"config" => Array (
"type" => "data_typ",
"eval" => "required",
"type" => "select",
"items" => Array (
Array("LLL:EXT:et_contact_new/locallang_db.xml:tx_etcontactnew_fields.data_typ.I.0", "0"),
Array("LLL:EXT:et_contact_new/locallang_db.xml:tx_etcontactnew_fields.data_typ.I.1", "1"),
Array("LLL:EXT:et_contact_new/locallang_db.xml:tx_etcontactnew_fields.data_typ.I.2", "2"),
Array("LLL:EXT:et_contact_new/locallang_db.xml:tx_etcontactnew_fields.data_typ.I.3", "3"),
Array("LLL:EXT:et_contact_new/locallang_db.xml:tx_etcontactnew_fields.data_typ.I.4", "4"),
Array("LLL:EXT:et_contact_new/locallang_db.xml:tx_etcontactnew_fields.data_typ.I.5", "5"),
Array("LLL:EXT:et_contact_new/locallang_db.xml:tx_etcontactnew_fields.data_typ.I.6", "6"),
Array("LLL:EXT:et_contact_new/locallang_db.xml:tx_etcontactnew_fields.data_typ.I.7", "7"),
Array("LLL:EXT:et_contact_new/locallang_db.xml:tx_etcontactnew_fields.data_typ.I.8", "8"),
Array("LLL:EXT:et_contact_new/locallang_db.xml:tx_etcontactnew_fields.data_typ.I.9", "9"),
Array("LLL:EXT:et_contact_new/locallang_db.xml:tx_etcontactnew_fields.data_typ.I.10", "10"),
Array("LLL:EXT:et_contact_new/locallang_db.xml:tx_etcontactnew_fields.data_typ.I.11", "11"),
Array("LLL:EXT:et_contact_new/locallang_db.xml:tx_etcontactnew_fields.data_typ.I.12", "12"), Array("LLL:EXT:et_contact_new/locallang_db.xml:tx_etcontactnew_fields.data_typ.I.13", "13"), Array("LLL:EXT:et_contact_new/locallang_db.xml:tx_etcontactnew_fields.data_typ.I.14", "14"), Array("LLL:EXT:et_contact_new/locallang_db.xml:tx_etcontactnew_fields.data_typ.I.15", "15"),
),
"size" => 10,
"maxitems" => 1,
)
),
wie bekomme ich es hin, dass wenn in dieser auswahlliste die seite neu geladen wird um mir andere formularelemente einzublenden und andere auszublenden?
"types" => array (
"0" => array("showitem" => "hidden;;1;;1-1-1, title;;;;2-2-2, field_outputname;;;;3-3-3, data_typ, default_value, input_length, output_length, mandatoryfield, show_output"),
"1" => array("showitem" => "hidden;;1, data_typ, default_value, mandatoryfield"),
),
wieso funktioniert es nicht wenn ich ""type" => "select"" auf type=type stelle.. ?
https://docs.typo3.org/m/typo3/reference-tca/main/en-us/Index.html
(['types'][key] section) -> fast ganz unten auf der seite...