I am building an event calendar for a client, who would like the ability for users to RSVP to events.
I have an events Collection, with normal things like title, date, time, and location. Good so far. Now, I would like each event to have a field which saves users who RSVP.
Create a multi-reference field in the events collection and a users collection as well. On the event detail page, there is a form with name and email. Using Zapier, I can create a ‘user’ when someone fills out that form and clicks the RSVP button, and then add that user to the multi-reference field on the event item.
Do the same as above, but with a text field to store the user data rather than referencing another collection.
I cannot pass the CMS ID of the collection item (event) on form submit.
What I’ve tried:
Using my Google powers, I have found that most people get around this by manually adding a CMS ID field to each collection item and either batch the IDs or just hardcode it. All of these examples are for a ‘blog category’ style collection or some similar example that remains static. My client will be regularly creating events, so having to go in manually and add the CMS ID after creating the event is not an option.
I have also discovered how to pass various CMS fields through embedded hidden form items, but again, it doesn’t seem that Webflow will pass the current item’s ID unless you have already populated it manually.
The Less-than-desired Solution
Eventbrite. I can link my client up with a Eventbrite account. When they build an event on that platform, I can have Zapier automatically create live CMS Event in Webflow, pass the ID of the Eventbrite item, from which I can embed the custom order/RSVP code from them. I would prefer to keep everything in Webflow, but this is the only solution I’ve found that works so far.
Here is my public share link: Webflow - MPHA Draft