Is there a way to remove "Inactive" contacts from appearing in a Search?
This is in regards to Case>New>Contact Name>Look up:
According to the idea Filter out inactive records when searching this isn't currently possible.
It would be really nice to be able to set a default to filter out inactive contacts and other record types when searcing in Salesforce.
Feel free to vote on and promote that idea.
There is also a recommendation from Salesfix to make the inactive records distinct in the search results:
To help see which Contacts are Inactive when you search for the contact, create a workflow rule to automatically append x- to the First Name of the Contact
At the simplest level, the workflow rule would just watch for a change to the IsActive__c field and prepend an 'x-' to the firstname.
I don't have an is active field setup, but I do have a is naughty checkbox field (long story).
An that is pretty much it. Of course, it's a bit naive as it can't handle the field being unchecked. I'll leave that as an exercise to the reader.
Since "Inactive" is just determined by the value of a boolean (checkbox) field on the Contact object, you can filter out Inactive accounts by setting up a search results filter.
In Salesforce Classic, find the Contact object under Settings. Then look under "search layouts" and edit "search filter fields". Add the "Inactive" field to the selected fields list and save your changes.
When you do a search for Contacts now, you should see a "show filters" link at the top left of the table (in Classic). Use the dropdown to only show contacts where inactive = false.
Couple of options that have been mentioned before if Contact object is private -
These actions hide contacts everywhere, which may be confusing users more than helping them. We found that the prefix option was actually better :)