How can I show a counter and limit the number of participants?

Hello everyone, i’m a neewbie on bubble.
I’m trying to create my first site for people doing sport at home.

I want to create this workflow but i don’t know where to start :

(Number of ticket for event or max participants = 10)
when all the procces payement that i’have already set is valid
show like a sort of counter ( 9 place remaining).
when we reach " 0 place remaining" Show sold out and people can not pay any more for this event

How could I do this please.

Sorry for my english i’m french.

Many thanks

@banbimmo Have you found your answer for like the same question ?

Hey @mike-du-44

That seems pretty straight-forward.
I’m guessing you have a data type « Event » and a data type « Participant »

  1. You should have a field in Event which is a list of Participants
  2. You should setup conditions on your event’s element so that:
  • when Event’s Participants’ count is 10, the element is not clickable (therefore no additional user can book a seat)
  • text « Sold out » is visible (shouldn’t be visible on page load) when Event’s Participants count is 10
  1. you can also trigger data changes to this event when « Create a Participant AND Participants count is 10 »

Number of seats remaining = 10 - Event’s Participants count

Hope that helps

Hello
Yes !
La réponse de Ambroisedlg me parait être la bonne.
Je te conseille par contre aussi de mettre une conditions côté workflow, plutôt que uniquement sur le bouton visible de ta page.

C’est a dire au moment tu valides l’inscription, tu peux aussi mettre quelque chose en condition comme : only if liste de participants count est inférieur à 10.

N’hésites pas à m’écrire en privé si tu veux.
Intéressé pour en savoir + sur ton projet aussi :slight_smile:

@ambroisedlg thanks a lot

My application is more complex than i thought is like a ticketing event with récurent payement and other features so much complicated for a beginner

I’ve to test my idea as fast as i can so i use an external.

If everthing is going well i will take more time to develop the feature with bubble

Thank’s a lot for your answer and your time.

This topic was automatically closed after 70 days. New replies are no longer allowed.