How to Auto-fill a certain field base on the related module choosen

If you are using vtiger 6, look at edit.js in /layouts/vlayout/modules/contacts/resources. This file is responsible for copying address fields in contact when you select a related account You have to create your own edit.js (modify mapping, etc.) in /layouts/vlayout/modules/your_custom_module/resources

Continue Reading