You need to sign in to do that
Don't have an account?

on clicking of lookup icon should show data on 3 fields in visualforce page
Hi,
i have a requirement to create one lookuprelation field in my custom object with relate to contact object.So now in my visualforce page when i click on lookup icon it will dispaly the results with 3 columns lets say accounname,accountsite,and phone number.
Now what all i want is when the user select the record it is saving the firstcolumn in customlookup field that is fine now i also want to show other 2 columns in my custom objectifelds in visualfoce page.
How to achive this functionality. Kindly help on this
Try the code in the below blog
http://bobbuzzard.blogspot.in/2010/09/visualforce-lookup.html
and see the discussion in the thread below,
http://salesforce.stackexchange.com/questions/11611/how-do-we-get-a-id-of-field-from-a-apexpageblocktable
Regards,
Ashish