Hello,
I regularly use the screen customization plugin, and I'm wondering if it is possible to do what I need.
On the ticket screen, I would like to display the phone number associated with the previously chosen requester. ("Demandeur" in french).
I have found that a calculated field can be parametered with "###EVAL###", but is it possible to retrieve the value of the previous field to get the associated phone number in database ?
Thank you in advance for your help and feedback,
Kind regards,
Yes, it will work, you need to define default value as
###EVAL### $val=SqlList::getFieldFromId("Contact", $this->idContact, 'phone');
and set to readonly so that it is calculated at each save
Thank you very much, it actually works perfectly well!
Best Regards,
AMAZ