Answers.Body: <p>The autocomplete works and does not have a limitation (we have 900k contacts and no problems).  My mistake was in the selection of the Contact Display Field for the Existing Contact on the Drupal WebForm.  I was using the "Display Name" as the structure but I was entering search as if it was the "Sort Name"  I was getting unexpected results.  Once I started entering the search with the correct format the results were as expected and all the contacts are included.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-01-31T12:51:12.330Z
Answers.LastActivityDate: 2017-01-31T12:51:12.330Z
Answers.UserDisplayName: Ron Gridley
Answers.Body: <p>There is no hard limit, no. You may need to dig in a bit more to find out why the search is not returning any results. Is it timing out? Or is it failing on permission checks?</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-01-18T14:30:33.910Z
Answers.LastActivityDate: 2017-01-18T14:30:33.910Z
Answers.UserDisplayName: Coleman
Body: <p>Is there a limit to the amount of contacts that can be searched for on Existing Contact using autocomplete on a Drupal Webform?  I have 1+million contacts.  If I restrict the webform to a group with a limited number of contacts the autocomplete works well.  However, if I do not restrict to a small group the autocomplete fails and wants to create a new contact.</p>
  
Tags: <webform-civicrm>
Title: Drupal Webform Autocomplete Existing Contact Limit
ThreadText: # Drupal Webform Autocomplete Existing Contact Limit
  
  (Asked by: username_0 on 2017-01-15)
  
  Is there a limit to the amount of contacts that can be searched for on Existing Contact using autocomplete on a Drupal Webform? I have 1+million contacts. If I restrict the webform to a group with a limited number of contacts the autocomplete works well. However, if I do not restrict to a small group the autocomplete fails and wants to create a new contact.
  
  **Tags:** webform-civicrm
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_0 on 2017-01-31. Score: 2
  
  The autocomplete works and does not have a limitation (we have 900k contacts and no problems). My mistake was in the selection of the Contact Display Field for the Existing Contact on the Drupal WebForm. I was using the "Display Name" as the structure but I was entering search as if it was the "Sort Name" I was getting unexpected results. Once I started entering the search with the correct format the results were as expected and all the contacts are included.
  
  
  ---
  
  ### Answer by username_1 on 2017-01-18. Score: 1
  
  There is no hard limit, no. You may need to dig in a bit more to find out why the search is not returning any results. Is it timing out? Or is it failing on permission checks?
  
  
  ---
  
  