When including multiple events on a webform and using the "user select" option, a user declining to choose results in the user being registered for that event. I've recreated my form, and the issue persists. I've stripped out all customization of display in case that was the issue, but that wasn't it either. To recreate, simply follow along below:

  1. In the Civicrm tab, Add multiple events set to "user select"

  2. screenshot1

  3. The events will show in the webform with a dropdown listbox.

  4. screenshot2

  5. When the form is viewed, the user sees "-None-" in the listbox before making a choice. If the user chooses "registered" it should register them for the event.

  6. screenshot3

Instead of working as designed, this webform will register users for all events in civicrm for which "registered" is chosen AND events for which the listbox is left at "-None-". This results in users registering for many more events than they wish. If "canceled" or any other option is selected, users are correctly listed at that status for the event in civicrm.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

naomisl created an issue. See original summary.

naomisl’s picture

I'm using Drupal 7.41 and CiviCRM 4.6.10.

colemanw’s picture

I can understand why you would try to set it up this way, but this is actually not what the module is designed to do. If the user does not select a status option, then "Automatic" will be assumed.

I think you'll achieve the results you want by setting your webform up this way instead:

  1. Enable just one set of events for a contact
  2. Set the "Event(s)" field to "user select"
  3. Set registration status to automatic (or else make it required)
  4. On the webform, edit the options of the "Event(s)" field to restrict available events if you wish, or else leave it automatic so it shows all current events

Like so

This will give the users a choice on the webform like this:

Webform

naomisl’s picture

Oh wow, thank you! I didn't know about the user select option in the events, that opens up a whole new world!

naomisl’s picture

How do I mark this issue as closed? I don't want it to remain an open bug report when it appears that I was merely causing a user error.

colemanw’s picture

Category: Bug report » Support request
Status: Active » Fixed

No problem. By the way having the event list be "live options" plus the filters on the civicrm tab of the webform lets you do nice things like allow users to sign up for all upcoming events of type X, and no need to manually update the webform when you create new events or old ones pass.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.