function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
imfromthepastimfromthepast 

Dependant Read Only Fields

I have a Custom Object with a Contact Look Up Field in it. I want to add read-only fields that display the phone number, email, etc of the Contact chosen in the Look Up Field.
How do I do that?
Jeff TalbotJeff Talbot

Not possible to include those fields on the page layout that I know of, but I think hover details should work.

https://na2.salesforce.com/help/doc/en/customize_ui_settings.htm#HoverDetails

imfromthepastimfromthepast
Thanks for the advice. I will use hover details in lieu of read only fields.
However, it should be possible to do. The Case Object features this very thing. Choose a contact from the look up field and when you view the record, the contact's phone number, fax number, and email are displayed.
There may not be a simple way of doing this, but surely it is not impossible.
With all the clever people on these boards, I find it hard to believe no one has an answer!
Sam@twkgSam@twkg
Hi, Did you manage to resolve your problem with hover links as I too have a similar requirement but for some reason hover links don't work on my custom object contact lookup field even though hover links are enabled within Salesforce. Am I missing something? Thanks