Map fields between modules with deluge script/custom function
I'm trying to map fields from contacts module into a custom module but having trouble cause I'm probably not setting it up properly. Can someone show sample code to do this?
Example
Fields in Contacts module are: Last Name, Date of Birth, Phone
Fields to map into custom module: Client Last Name, Date of Birth, Phone