Asked by:
MS CRM 2011 - look up field and value displayed on it

Question
-
When I put a value on a look up field, for example a primary contact in account form, the field will show contact's default field value, which is contacts name. If I want to show some other field on the look up field, how is that done?Tuesday, June 25, 2013 5:19 AM
All replies
-
Hi,
You can implement your requirement by writing javascript, did you check this post.
Our Website | Our Blog | Follow US | My Facebook Page | Microsoft Dynamics CRM 2011 Application Design
Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.- Proposed as answer by HIMBAPModerator Tuesday, June 25, 2013 5:33 AM
Tuesday, June 25, 2013 5:33 AMModerator -
Hi,
You can implement your requirement by writing javascript, did you check this post.
Our Website | Our Blog | Follow US | My Facebook Page | Microsoft Dynamics CRM 2011 Application Design
Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.Hi
Can you help me with the code? It says in the usage: "Pass the Lookup field name as parameter to the function." So, where exactly I put the lookup field's name in the code?
Tuesday, June 25, 2013 7:18 AM -
Hello,
you can declare a variable in function and provide your lookup field name something like below
var fieldname="lookupfieldname";
Our Website | Our Blog | Follow US | My Facebook Page | Microsoft Dynamics CRM 2011 Application Design
Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.Tuesday, June 25, 2013 8:27 AMModerator -
Hello,
you can declare a variable in function and provide your lookup field name something like below
var fieldname="lookupfieldname";
Our Website | Our Blog | Follow US | My Facebook Page | Microsoft Dynamics CRM 2011 Application Design
Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.
Yes, but where I put the name of the field where I want to take the value and where I put the current lookup field name?Tuesday, June 25, 2013 9:00 AM