AnsweredAssumed Answered

Is there a 'hook' for mass update when defining a dependency?

Question asked by Francesca Shiekh on Feb 10, 2014
I have a dependency that works fine in edit view but is not enforced in mass update.

<?php
$dependencies['Leads']['reseller_required'] = array(
 'hooks'=>array('edit','massupdate')
 ,'triggerFields' => array('status') 
 ,'onload' => true
 ,'actions' => array(
                               array(
                                           'name' => 'SetRequired',
                                           'params' => array(
                                                   'target' => 'reseller_c'
                                                   ,'label' =>  'reseller_c_label'
                                                   ,'value' => 'equal($status, "forwardedtoreseller")'

                                             ),
                                  ),
                       ),
 );
 ?>



I tried to add "massupdate" to the hook array to no avail and am not finding documentation on the possible hook values (It is possible that I am just not looking in the right place. Any thoughts on how I can enforce dependencies in Mass Update as well as Edit?

Thanks,
Francesca

Outcomes