Workflow & function to update secondary email field based on a contact lookup in a custom module
Hi everyone,
I'm new to writing functions so I need some help.
I have created a custom module with the display name of "License manager" Module Name "CustomModule1"
I have a contact lookup field in this module and I would like to create a function that adds that contacts email address to the "Secondary email" field if it's left blank. (this is one of the default fields)
This should happen upon creating or editing the record.
Any help would be appreciated.