If you want to disallow overlapping events, you should do a Search for Events, similar to the one shown in the linked post, that filters for overlapping time ranges. You may also want to create a time range field on your Events object that goes from the Start Time to the End Time (that updates at the same time as those fields do). I would check to see if that Search expression is empty to allow the action to continue.
If you want to disallow duplicately timed events, you should do a Search for Events that have the same start date and same end date. You wouldn’t really need to use the range function for this one. The former is more broad though and is more likely what you’re looking for.
—
Kevin
AirDev
We’re looking for Bubble developers, designers, and more to join our team: https://airdev.co/partners