Date Range/Calendar No overlapping

Hi Bubble community,
I am stuck on something that I thought was really easy to do, but I a maybe am too much into my app to see the solution.
I am working with the calendar plugin and I would like to not have overlapping event.
I want to make a condition on my events creation : create only if the date time picker 1 and date time picker 2 are not contained already by an event.
or do a search for my event’date range contains date time picker 1 or 2 …
but it’s not working… I am wondering how I should do it…
does anyone know?
thank you in advance!

I had to ask the question to instantly find a solution.
I was lost inside all the possibilities to write it !
For the one that it can help here is the solution :

3 Likes

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