Support multiple capacities by type

Created on 13 December 2015, about 9 years ago
Updated 27 July 2023, over 1 year ago

I'm finally porting a 10 year old spaghetti code website that manages a good sized local sports league to Drupal. None of the league management modules seemed to fit the bill or don't have drupal 7 versions. So, I'm using registration to manage player registrations. We have two types of leagues -- Draft and Team. In a Draft league, players sign up as individuals and are drafted onto teams. All of our leagues are co-ed.

One thing I need to solve is capacities. A typical draft league will have 9 men and 6 women on a team. So for a 30 team league, I need to limit registrations to 270 men and 180 women.

I don't want to create separate registration types for each gender if I can avoid it.

Before I start thinking about writing a custom module, does anyone have ideas or recommendations about how I can implement this?

✨ Feature request
Status

Active

Version

3.0

Component

Registration Core

Created by

πŸ‡ΊπŸ‡ΈUnited States bkat

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States john.oltman
  • πŸ‡¬πŸ‡§United Kingdom jonathanshaw Stroud, UK

    The webform module supports fine-grained option submission limits in this way, it's architecture might be worth looking at.

    But 3.x has sufficient room for customisation via events that I'm not sure a generic solution for allowing a single registration type to have dynamic capacity makes sense. Wouldn't such most such use cases need custom logic anyway?

  • πŸ‡¬πŸ‡§United Kingdom jonathanshaw Stroud, UK

    But I guess from this retitling of this issue @john.oltman is actually thinking to allow setting a different capacity per registration type, not just one overall capacity for the host entity. Which would indeed make a lot of sense.

Production build 0.71.5 2024