CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Drupal Modules »
  • Drupal Webform Integration »
  • Autocomplete Current Employer doesn't work when logged out
Pages: [1]

Author Topic: Autocomplete Current Employer doesn't work when logged out  (Read 315 times)

cudder23

  • I’m new here
  • *
  • Posts: 22
  • Karma: 0
  • CiviCRM version: 4.5.2
  • CMS version: Drupal
  • MySQL version: 5.6.17
  • PHP version: 5.3
Autocomplete Current Employer doesn't work when logged out
November 16, 2014, 04:46:06 pm
I set up a Webform for a Membership Application. I followed the instructions on this page for setting up an Autocomplete for the Organization the new Member belongs to:

http://wiki.civicrm.org/confluence/display/CRMDOC/Webform+CiviCRM+Integration#WebformCiviCRMIntegration-CurrentEmployer

So, this works fine when I am logged in (as an administrator), and it auto completes the organization name with options from the database. But when I test the form when I'm logged out, it doesn't recognize any organization names that I know are in the CiviCRM. Furthermore, when I try to add a new organization it doesn't get added to the database.

Any ideas why this might be happening?

Also, in all cases the Position field doesn't appear even though there is a "Position" field option when I edit  in the Webform tab. It is down at the bottom and has options for "Parent" (I set it to "Organization"). Is this field supposed to automatically be part of the Existing Contact field?

Thank you!

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Autocomplete Current Employer doesn't work when logged out
November 16, 2014, 04:52:23 pm
The anonymous user does not have permission to view contacts in your database. Be thankful for this default, it can save you from accidentally exposing your entire database to the world!

You can override this default by editing the "existing contact" field (from the webform tab) and unticking "Enforce Permissions". Typically you would also set one or more filters on that form (e.g. pick a group) to limit the autocomplete to just the organizations you want to expose.
Try asking your question on the new CiviCRM help site.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Drupal Modules »
  • Drupal Webform Integration »
  • Autocomplete Current Employer doesn't work when logged out

This forum was archived on 2017-11-26.