I have created a custom dependency in: custom/Extension/modules/Accounts/Ext/Dependencies/setPanelVisibility.php
with the following content:
'hooks' => array('edit','view'),
'trigger' => 'true',
'triggerFields' => array('tct_fedeicomiso_chk_c','name'),
'onload' => true,
'actions' => array(
'name' => 'SetPanelVisibility',
'params' => array(
'target' => 'LBL_RECORDVIEW_PANEL2',
'value' => 'equal($tct_fedeicomiso_chk_c,true)',
but in the chrome console it shows me the following:
I have checked the record.php file and the panel exists.
So, when i try to create a new Account, this custom dependency does not work and the dependencies previously defined
from Studio does not work.
However, when i delete the file with custom dependency, everything works fine.
It seems that the file interferes with all the dependency functionality of the vardefs.
I have applied permissions and QRR but nothing seems to work.