title: Salesforce: Auto-complete for Lookup field
body: <p>I have a custom object known as "Companies".I have created a lookup field in a Visual Force page which gives me the list of companies name from the custom object " Companies".I have written a code which makes this lookup field auto-complete like what you have seen in the image attached.(First pic)</p>
  
  <p>The problem: I don't know how to make the lookup field (which takes the list of companies name from custom object" Companies" in "Opportunities" standard object) auto-complete as done in the visual force page. Basically want the field highlighted in yellow in the second picture to auto-complete or give relevant suggestion when I type the first few characters.</p>
  
  <p>Any help on this matter would be appreciated. Thank you </p>
  
  <p><img src="https://i.stack.imgur.com/UUITW.jpg" alt="This is a Visual Force page where I have done auto-complete for a look up field "><img src="https://i.stack.imgur.com/8LHKG.jpg" alt="This is standard Opportunity object, where I want to make the yellow highlighted lookup field to be auto-complete but I don&#39;t know how to do in a standard page"></p>