AnsweredAssumed Answered

save a custom field after a log call

Question asked by poline7 on Mar 17, 2016

Hi,

I have a custom field on my lead table that I would like to update anytime a user save a new log call.

 

I have been trying to look the code in call.php and CallFormBase.php, I get that I should change something in the function call() but I dont really understand where/what is the real function called when the user click save.

 

I think I should do something like:

$MyField = new Call();

$MyField->retrieve('my lead id');

$MyField->Touch_Phone = '1';

$MyField->save();

 

I'm all new on this CRM, thank you for your help!

Outcomes