We had a scenario where client runs a cluster of events, and folk sign up for these, and usually the registrants signs up for all events, but then they might invite mum to the Dinner, and brother John to the Talk, etc etc.
We wanted to achieve this on a single form with a single payment. We explored both CiviCart and Drupal Commerce but in the end concluded we could achieve this in a much lighter way with good old webforms.
The outcome is that up to 6 people can be registered for any combination of events, eg
- c1 registers for Events A, B, C, D, E and F
- c2 registers for B, C and D
- c3 registers for A and B
- c4 registers for A and F
Nice writeup Peter. I'm curious to know why the first conditional is necessary (show "Your Registration" block if number of participants is 1,2,3,4,5,6) - why would it ever not be shown?
Just keeping the form tidy until a selection has been made. You are right, it is not necessary.
I think some forms can be confusing when they ask for a number of registrants (does "1" mean 1 additional to me? or just me?) this solves the problem neatly by giving immediate visual feedback and a clear label on the first fieldset.