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 CiviContribute (Moderator: Donald Lobo) »
  • 2 Issues with 'on behalf of' contribution pages
Pages: [1]

Author Topic: 2 Issues with 'on behalf of' contribution pages  (Read 787 times)

Andy Laken

  • I’m new here
  • *
  • Posts: 27
  • Karma: 3
2 Issues with 'on behalf of' contribution pages
December 22, 2010, 11:43:25 am
I have a contribution page set up to force user to contribute on behalf of an organization (the options 'Allow individuals to contribute and / or signup for membership on behalf of an organization?' is checked, as well as 'Check 'Required' to force ALL users to contribute/signup on behalf of an organization' selected).

I am seeing two issues with this page that look like bugs:

1. "Create new organization / Select existing organization" selector only appears after 1st contribution
After creating the contribution page, when the page is first viewed, the radio selector "Create new organization / Select existing organization" does not appear, whether logged-in or logged-out. Once the first contribution is completed through the form, this selector appears on subsequent loads of the form.

(I tested this on the demo site and on my own site and saw the same behavior. However, attempting to create a new contribution page just now (http://drupal.demo.civicrm.org/civicrm/contribute/transact?reset=1&id=5) and the selector appeared correctly, so it's a bit bedevilling…)

2. Organization Name autocomplete field is stuck
The Organization Name autocomplete field is stuck on the first org that was contributed on behalf of. I contributed on behalf of Compasspoint, now coming back to the form, only Compasspoint appears in autocomplete no matter what I type. Unable to get Cisco, Red Cross, etc to appear in autocomplete.

See this on demo site: http://drupal.demo.civicrm.org/civicrm/contribute/transact?reset=1&id=4

Has anyone seen this behavior? Any workarounds? Thanks!
Andy Laken
Engineer | CivicActions, LLC
e: andy.laken@civicactions.com | skype: mcantsin | http://twitter.com/alaken

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: 2 Issues with 'on behalf of' contribution pages
December 22, 2010, 12:15:54 pm
As discussed on IRC, both 1 and 2 are actually expected behaviors:

dgg: you only get to select organizations that you (the logged in user) has employee relationship with
[11:51am] dgg: demo user has permissioned employee relationship with Compasspoint
[11:52am] laken: dgg: would that explain why radio selector only appears after the first submission?
[11:52am] laken: dgg: b/c at first the logged-in user has no relationship with any org, so don't have choice to pick from any existing?
[11:52am] dgg: ah yes, since in your tests, demo user didnt' have that relationship before 1st contribution

I'll add some info on this to the inline help under Configure Contribution Page > Title and Settings > Allow individuals to contribute and / or signup for membership on behalf of an organization? checkbox (for 3.3.2). Andy is updating the relevant wiki page as well.

I do agree that this functionality needs improvements. The existing Make it Happen campaign to change the Organization form to be profile-driven would definitely help. Maybe for "Select existing organization" the fields should be read-only in any case. Not sure there's a good argument for allowing updates - but displaying admin controllable fields can probably be helpful for distinguishing between orgs.
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • 2 Issues with 'on behalf of' contribution pages

This forum was archived on 2017-11-26.