Answers.Body: <p>The issue could be that you have to set the "access AJAX API" permission for the relevant roles</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-11-10T15:01:10.557Z
Answers.Text: Ok Pete we will check and update thank you H
Answers.UserDisplayName: Hardwick
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-11-20T19:38:49.187Z
Answers.Text: Update  - we added https://civicrm.org/extensions/populate-employer-anonymous-users -  and we're trying different things as well for the advanced search, so that it suggests names similar to nearly every other field to ease administrative searches. H
Answers.UserDisplayName: Hardwick
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-11-08T19:33:18.383Z
Answers.LastActivityDate: 2017-11-08T19:33:18.383Z
Answers.UserDisplayName: petednz - fuzion
Body: <p>Hey everyone we've just installed the public autocomplete extension <a href="https://civicrm.org/extensions/public-autocomplete-of-organisation-names" rel="nofollow noreferrer">https://civicrm.org/extensions/public-autocomplete-of-organisation-names</a> but are having some difficulty getting it to "add new" or the "new organization" button to display (as it does when logged in as admin, editing a record and selecting "Current Employer") while also still creating the Employer-Employee relationship</p>
  
  <p>(this is for anon users) also we'd like to restrict the list that displays by group and contact type</p>
  
  <p>in other words, create new org similar to webform-civicrm or within civicrm.</p>
  
  <p>trying acls, adding code per the video athttps://civicrm.org/extensions/public-autocomplete-of-organisation-names</p>
  
  <p>but nothing works yet.</p>
  
  <p>We are using civicrm 4.7 so any thoughts or feedback , greatly appreciated!</p>
  
  <p>H</p>
  
  <p>p.s. similar maybe not identical to <a href="https://civicrm.stackexchange.com/questions/18658/enabling-new-organisation-button-for-current-employer-field-in-view-contact">Enabling &#39;New Organisation&#39; button for Current Employer field in View Contact</a></p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-11-08T19:32:42.097Z
Comments.Text: Did you read instructions at https://github.com/TechToThePeople/publicautocomplete? Have you set the "access AJAX API" permission?
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-11-16T05:20:33.370Z
Comments.Text: Thanks Pete, that helped and it is suggesting. Weird tho as the auto-complete still has too many orgs in the drop down, regardless of spelling. 
  So we're also going to try installing the quick auto-complete. Best civi auto-suggest mechanism we have observed  is either 1. Current Employer - edit within civi contact, allows 'New Org"  and  2. when entering an activity where "With Contact" cleanly suggests, restricts, then accepts the entry or provides for "New Organization."We're trying to create something similar for user registration at civicrm/profile/create?gid=1&reset=1.
Comments.UserDisplayName: Hardwick
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-11-20T19:38:57.447Z
Comments.Text: Hi Hardwick. So the context is that you're publicly exposing a CiviCRM profile that contains the Current Employer field? According to the extension docs (https://github.com/TechToThePeople/publicautocomplete.git), the setting `require_match`, if TRUE, will require the user to enter an existing organization, thus preventing creation of a new organization. If you set that to FALSE, you should be able to enter a new org name and CiviCRM will use that name to create a new org; it won't have a "new" button, you just type in the org name.  Have you tried that? Am I getting the context right?
Comments.UserDisplayName: TwoMice
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-11-20T19:51:01.423Z
Comments.Text: Thanks Twomice, that's exactly correct. Set to FALSE seems to re-open the door to the misspellings and typos  tho  if I am understanding.Too tricky for us to customize it to function as Current Employer field does when logged in as admin?  We are also attempting to restrict group display access in the auto-complete, from the admin end, i.e. restrict to a known list of employers already in a group.
Comments.UserDisplayName: Hardwick
Tags: <extension><autocomplete>
Title: Add New Organization Option to Public Autocomplete Extension
ThreadText: # Add New Organization Option to Public Autocomplete Extension
  
  (Asked by: username_0 on 2017-11-08)
  
  Hey everyone we've just installed the public autocomplete extension <https://civicrm.org/extensions/public-autocomplete-of-organisation-names> but are having some difficulty getting it to "add new" or the "new organization" button to display (as it does when logged in as admin, editing a record and selecting "Current Employer") while also still creating the Employer-Employee relationship
  
  (this is for anon users) also we'd like to restrict the list that displays by group and contact type
  
  in other words, create new org similar to webform-civicrm or within civicrm.
  
  trying acls, adding code per the video athttps://civicrm.org/extensions/public-autocomplete-of-organisation-names
  
  but nothing works yet.
  
  We are using civicrm 4.7 so any thoughts or feedback , greatly appreciated!
  
  H
  
  p.s. similar maybe not identical to [Enabling 'New Organisation' button for Current Employer field in View Contact](https://civicrm.stackexchange.com/questions/18658/enabling-new-organisation-button-for-current-employer-field-in-view-contact)
  
  **Tags:** extension, autocomplete
  
  > **Comments:**
  > **username_1**: Did you read instructions at https://github.com/TechToThePeople/publicautocomplete? Have you set the "access AJAX API" permission?  
  > **username_0**: Thanks Pete, that helped and it is suggesting. Weird tho as the auto-complete still has too many orgs in the drop down, regardless of spelling.  So we're also going to try installing the quick auto-complete. Best civi auto-suggest mechanism we have observed  is either 1. Current Employer - edit within civi contact, allows 'New Org"  and  2. when entering an activity where "With Contact" cleanly suggests, restricts, then accepts the entry or provides for "New Organization."We're trying to create something similar for user registration at civicrm/profile/create?gid=1&reset=1.  
  > **username_2**: Hi username_0. So the context is that you're publicly exposing a CiviCRM profile that contains the Current Employer field? According to the extension docs (https://github.com/TechToThePeople/publicautocomplete.git), the setting `require_match`, if TRUE, will require the user to enter an existing organization, thus preventing creation of a new organization. If you set that to FALSE, you should be able to enter a new org name and CiviCRM will use that name to create a new org; it won't have a "new" button, you just type in the org name.  Have you tried that? Am I getting the context right?  
  > **username_0**: Thanks Twomice, that's exactly correct. Set to FALSE seems to re-open the door to the misspellings and typos  tho  if I am understanding.Too tricky for us to customize it to function as Current Employer field does when logged in as admin?  We are also attempting to restrict group display access in the auto-complete, from the admin end, i.e. restrict to a known list of employers already in a group.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-11-08. Score: 2
  
  The issue could be that you have to set the "access AJAX API" permission for the relevant roles
  
  > **Comments:**
  > **username_0**: Ok Pete we will check and update thank you H  
  > **username_0**: Update  - we added https://civicrm.org/extensions/populate-employer-anonymous-users -  and we're trying different things as well for the advanced search, so that it suggests names similar to nearly every other field to ease administrative searches. H  
  
  ---
  
  