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 »
  • Multiple Memberships Management using Webform
Pages: [1]

Author Topic: Multiple Memberships Management using Webform  (Read 398 times)

JMM

  • I post occasionally
  • **
  • Posts: 67
  • Karma: 0
  • CiviCRM version: 4.5.5
  • CMS version: Drupal 7.34
  • MySQL version: 5.5.40
  • PHP version: 5.4.33
Multiple Memberships Management using Webform
February 09, 2015, 08:31:48 am
I have (successfully) implemented Memberships, using Webform Integration, and it's OK to create or modify (actually replace) one Membership (between one Organisation and one Member).

But some of my Members can have 2 different Membership Types (and Statuses) in the  same Organization (e.g. President and Teacher) (which Civi enables).

If I re-use my Webform to create a second Membership : it won't : actually it will replace the old one by the new one (which is safe).

I can modify my Webform to create 2 different Memberships : that works for creation ... but not for modification (or replacement) : only one is modified (the second one).

Any idea about how I should manage that ? Thanks in advance.

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Multiple Memberships Management using Webform
February 09, 2015, 08:43:00 am
So you are saying that if a user has 2 memberships, and they visit your webform which has 2 membership fields, it fails? How does it fail exactly? Does it successfully auto-populate both memberships on the form? It's supposed to.
Which version of the module are you using btw?
Try asking your question on the new CiviCRM help site.

JMM

  • I post occasionally
  • **
  • Posts: 67
  • Karma: 0
  • CiviCRM version: 4.5.5
  • CMS version: Drupal 7.34
  • MySQL version: 5.5.40
  • PHP version: 5.4.33
Re: Multiple Memberships Management using Webform
February 09, 2015, 11:02:00 am
Hi Coleman,

Thank you for your answer
I use Webform 7.x-4.2 and Webform Integration 7.x-4.10

- creating 2 Memberships with the same Webform (with 2 Membership fields) works fine : both Memberships are created

- my problem is with modification, which does not (only one Membership is modified : the second one, as I can see)

(In fact, Contacts don't access the form themselves : as an admin, I do create the Membership(s) myself with the form ... but I don't think that this changes anything)


Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Multiple Memberships Management using Webform
February 09, 2015, 03:48:20 pm
It may be a bug - can you post more detailed steps to reproduce and I can check it out sometime (hopefully) soon.
Try asking your question on the new CiviCRM help site.

JMM

  • I post occasionally
  • **
  • Posts: 67
  • Karma: 0
  • CiviCRM version: 4.5.5
  • CMS version: Drupal 7.34
  • MySQL version: 5.5.40
  • PHP version: 5.4.33
Re: Multiple Memberships Management using Webform
February 11, 2015, 05:13:21 am
Hi Coleman,

Thank you for your proposal :

Create one Organisation, with 4 Membership Types (let's say A, B, C, D)

Create a Webform with :
Contact 1 = Organisation (existing Contact)
Contact 2 = Individual (existing Contact)
2 Memberships, each with :
  . Membership Type (select)
  . Membership Status (select limited to Current / Cancelled)

Now, view your Webform :
Select the Organization
Select one Individual
Select 2 memberships (e.g. A and B) with "current" status
Submit

Now, view your Webform again (for modification) :
Select same Organization and Individual
Select 2 different memberships (e.g. C and D) again with "current" status
Submit

Now, in CiviCRM, select the Individual and open his memberships : I would personally expect C and D memberships (but I get A and D)

Thank you again

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Drupal Modules »
  • Drupal Webform Integration »
  • Multiple Memberships Management using Webform

This forum was archived on 2017-11-26.