Creating Dependencies in SuiteCRM 7.10.18

Hi i am trying to create dependencies so that while updating value of a field to a particular value, another field can be made mandatory/required.

So i went to opportunities module, this folder: /custom/Extension/modules/Opportunities/Ext/Dependencies
Created a file: oppo_dep.php.

The content of this file is:

<?php $dependencies['Opportunities']['Prob_Change'] = array( 'hooks' => array("edit"), //Trigger formula for the dependency. Defaults to 'true'. 'trigger' => 'true', 'triggerFields' => array('probability','lead_source'), 'onload' => true, //Actions is a list of actions to fire when the trigger is true 'actions' => array( array( 'name' => 'SetRequired', //Action type //The parameters passed in depend on the action type 'params' => array( 'target' => 'lead_source', 'label' => 'lbl_lead_source', 'value' => 'equal($probability, "2")' ), ) ) ); I did a quick repair and build. ideally as per the documentation, it should create oppo_dep.ext.php at the following path: custom/modules/Opportunities/Ext/Dependencies But after running QR&R , no file is getting created. I have deleted the cache and also made the file and Directory executable using chmod 755 in the Extension directory path:/custom/Extension/modules/Opportunities/Ext/Dependencies Please help me if creating dependencies like this is possible in suitecrm version 7.11. Is there any other way to change a field to required from not required based on value of any other field. Thanks

Please check these posts for some ideas:

https://suitecrm.com/suitecrm/forum/suitecrm-7-0-discussion/7061-how-to-hide-checkbox-for-contracts-listview-in-sugarcrm-for-the-records-having-status-signed?start=15

https://suitecrm.com/suitecrm/forum/developer-help/24293-set-readonly-property-of-fields-based-on-other-field

https://suitecrm.com/suitecrm/forum/suitecrm-7-0-discussion/11050-display-subpanel-based-on-field

https://suitecrm.com/suitecrm/forum/suitecrm-7-0-discussion/7061-how-to-hide-checkbox-for-contracts-listview-in-sugarcrm-for-the-records-having-status-signed?start=15

Thanks,

AlxGr