Thanks, but it still hard for me.
I have php file of my edit view:
/var/www/suitecrm/custom/modules/[color=#ff4400]iosa1_Equip_and_config[/color]/metadata/editviewdefs.php
Red collor - itâs name of my modul
So in Studio > iosa1_Equip_and_config > Layout > Edit View I created some Pannels with row and fields

As you can see I have dropdown field âType of Itemâ, itâs real name is [color=#ff4400]type_of_item_c[/color] . In that field I use dropdown list [color=#ff4400]type_of_item_list[/color] with only 2 values:
1)BUC [BUC]
2)UPS [UPS]
So I need:
When I choose BUC, all Panel with UPS must be hide
When I choose UPS, all Panel with BUC must be hide
Thatâs all.
Here is guide that I found, but it miss some crutial elements, so for me itâs like Puzzle.
https://jatinmarwah.wordpress.com/2010/06/13/sugarcrm-programmatically-hiding-and-displaying-panels-based-on-the-value-of-a-drop-down/
Could you please explain to me where I need to look, if thatâs my current code in
/var/www/suitecrm/custom/modules/[color=#ff4400]iosa1_Equip_and_config[/color]/metadata/editviewdefs.php
<?php
$module_name = 'iosa1_Equip_and_config';
$viewdefs [$module_name] =
array (
'EditView' =>
array (
'templateMeta' =>
array (
'maxColumns' => '2',
'widths' =>
array (
0 =>
array (
'label' => '10',
'field' => '30',
),
1 =>
array (
'label' => '10',
'field' => '30',
),
),
'useTabs' => false,
'tabDefs' =>
array (
'DEFAULT' =>
array (
'newTab' => false,
'panelDefault' => 'expanded',
),
'LBL_EDITVIEW_PANEL1' =>
array (
'newTab' => false,
'panelDefault' => 'expanded',
),
'LBL_EDITVIEW_PANEL2' =>
array (
'newTab' => false,
'panelDefault' => 'expanded',
),
),
),
'panels' =>
array (
'default' =>
array (
0 =>
array (
0 => 'name',
1 =>
array (
'name' => 'accounts_iosa1_equip_and_config_1_name',
),
),
1 =>
array (
0 =>
array (
'name' => 'type_of_item_c',
'studio' => 'visible',
'label' => 'LBL_TYPE_OF_ITEM',
),
1 =>
array (
'name' => 'type_or_item_child_c',
'studio' => 'visible',
'label' => 'LBL_TYPE_OR_ITEM_CHILD',
),
),
),
'lbl_editview_panel1' =>
array (
0 =>
array (
0 => 'assigned_user_name',
1 =>
array (
'name' => 'date_modified',
'comment' => 'Date record last modified',
'label' => 'LBL_DATE_MODIFIED',
),
),
1 =>
array (
0 =>
array (
'name' => 'date_entered',
'comment' => 'Date record created',
'label' => 'LBL_DATE_ENTERED',
),
1 =>
array (
'name' => 'created_by_name',
'label' => 'LBL_CREATED',
),
),
),
'lbl_editview_panel2' =>
array (
0 =>
array (
0 => 'description',
1 =>
array (
'name' => 'modified_by_name',
'label' => 'LBL_MODIFIED_NAME',
),
),
),
),
),
);
?>