I want to create a booking system to book a game with other people.
If I want to create something like this:
Should I create buttons in group?
Also the other question is maybe you know page with bubble components where I can buy something like this?
Last question is if someone will book hour how to disable it from view in the page?
I am a totally beginner of bubble and maybe there is a lot of newbies questions but I really want to create something with diffrent view of calendar (I don’t like the calendars in plugins)
Hi Jakub
There are many options to achieve this result, and the most optimal one in this case is to use option set.
Step 1: Start by configuring a new option set called “Booking hours” and add all the booking hours.
Step 2: in your page create a new repeating group that loops through the option sets, this Repeating group will have two states, one to store the first hour (check-in) & the second state is to store the second hour (check-out-if applicable)
Step 3: Now that you have the data source you configure the clickability and style of the hours (cells) using simple conditionals.
It’s the most straightforward way
By using option set he’ll be able to use a repeating group to render all the hours and set up the workflow just once.
If he used a static hours method he will need to duplicate the workflow for all the elements.
Plus he can easily change the values later, delete, add new hours.
Bonus: If he want to further optimize the workload, he can even load the optionset to an RG and use the RG as the data source from then on.
He wouldnt need to duplicate the workflow any more if he didnt use option sets. And it would be more customizable per booking and can actually be changed with a simple db record change and not having to deploy just to add a hour which is a terrible practice.
And then the conditionals arent tied to an option set value, they are the value making it much easier to determine whether the slot is full.