Hello!
I’m building a website that allows clubs or hosts to create events directly on the site using forms. These forms will let people sign up for the events. I’ve already set up most of this functionality successfully.
The issue I’m facing is this:
I want the club/host to be able to choose which classes (e.g., Elite, Senior, etc.) are allowed for an event. These selected classes should then appear as options in the event’s signup form.
Example:
Bob wants to create a sports event that only allows participants from the Elite and Senior classes. He selects those two classes when setting up the event.
Later, when John wants to sign up for the event, only the Elite and Senior options should be available in the class dropdown.
What I’ve done so far:
- The rest of the form setup is working well. Hosts can create forms, and users can sign up successfully.
- I’m using a CMS for most of this. When a host creates an event, it’s added to a CMS collection.
- This CMS collection is connected to dynamic pages that show all events.
- The signup form on each dynamic event page is connected to another CMS collection where the submitted data (name, email, class, etc.) is stored.
What I’ve tried:
- I know it’s possible for input fields to display options from a CMS collection and then submit the selected values to another one.
- I’ve used the built-in “dynamic options” for dropdowns, but it only shows options from multiple CMS items rather than multiple fields or values from a single item.
The core problem:
I need a way to dynamically populate the class dropdown in the signup form based on which classes the event host has selected for that specific event.