Hi all - I have added a new custom dropdown field to Contacts. It's showing up and working fine on the edit/detail/search and list forms. However, we also want to add this field to the 'New Contact' form found on the Home page(at least in the Sugar and SugarLite) templates. This is the form that allows you to enter fname, lname, phone and email and click 'Save' to quickly setup a Contact.
We have been able to edit the GetFormBody function in the ContactFormBase.php file to pull and display the custom field label however we cannot get the options from the custom field to display in the corresponding dropdown. Can anyone point us in the right direction as to how to get the custom field dropdown options to display? And, more importantly, once it displays how to save it to the table when the user clicks 'Save'. Any help would be greatly appreciated.


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks