AnsweredAssumed Answered

read only dependency

Question asked by Karen Valle on Nov 6, 2015
Latest reply on Nov 8, 2015 by Vignesh V

Hi everyone,


My understanding for ReadOnly dependency is that a field can become read only when the value is true. I've written a ReadOnly dependency but when I run a QRR, my system stalls. Is something wrong with my code?


"lock record" is a checkbox



  $dependencies['WG001_Condo_Internet']['lock_marketing_rights'] = array(

       'hooks' => array("all"),

       'trigger' => 'true',

       'triggerFields'=> array('lock_record_c'),

       'onload' => true,

       'actions' => array(


                 'name' => 'ReadOnly',

                 'params' => array(

                      'target' => 'marketing_rights_c',

                      'value' => 'equal($lock_record_c, true)'




       'notActions' => array();




I run Enterprise