My data set is as follows:
Event table with multiple events (EventID, Event Name, Location Max Bookings)
Event Bookings table with multiple events and name of each person (EventID, email, Number attending)
Whenever a person makes a booking check the Max bookings for the selected event
IF number attending + Rollup of Number attending for the same event > Max Bookings THEN Display Message “Event overbooked”
Your example does a rollup on all events not the selected event. How do I get the Max bookings for the selected event
A user has selected an event to register. The following form is displayed
Form
They then click the attending tickbox
When the form is submitted I want to check if their booking will exceed to Max Number for the event value which is stored in the Event table. I know how to display a message. What I cannot figure out is how to check the Max booking value that is stored in the Events table
you should prevent users from getting to that form… hide the button for that form if the event is fully booked… or create a custom form, using show a new screen action, that you can control, not a native Glide form