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

Limit the results of an inputField's lookup button to a certain account
Hello,
I have an inputField set to a lookup relationship of type Contact. When the lookup button next to the inputField is pressed, it returns every contact that matches up with the name entered. I want to limit the results of that search to contacts with a specific account value. Basically what I'm trying to accomplish is to allow the user to select the contact record of the person that is escorting a visitor into our workplace. It wouldn't make sense that they could select someone that doesn't work at the company as an escort.
Can I do this in some way?
I thank anyone that can help.
You can accomplish your requirement from lookup filters. Refer the following link for understand defining a lookup filter.
http://login.salesforce.com/help/doc/en/fields_lookup_filters_defining.htm
If you got the answer from this post, Please give a Kudos.
If a reply to a post answers your question or resolves your problem, please mark it as the solution to the post so that others may benefit.
All Answers
You can accomplish your requirement from lookup filters. Refer the following link for understand defining a lookup filter.
http://login.salesforce.com/help/doc/en/fields_lookup_filters_defining.htm
If you got the answer from this post, Please give a Kudos.
If a reply to a post answers your question or resolves your problem, please mark it as the solution to the post so that others may benefit.
Thanks! That looks to be exactly what I was looking for!
Thanks for the tip in regards to kudos too, I hadn't even noticed that yet.