Create a random number which is not in a list - "booking-number"

Hello,

I want to create a random number with a specific length of characters. This number should not be in a list of numbers, so it is unique.
The number is needed for a booking and should be saved in booking’s bookingnumber.

I have tried everything I know but couldn’t find a solution. It would be great if you could help me… Thank you!!
Leon

You could try using the thing’s unique ID, or a portion of it.

1 Like

@Leon

Complementing @robert great suggestion you may find this video by @romanmg useful > Create a Random ID for your Bubble.is Data

1 Like

Thanks @cmarchan.

@romanmg implemented this for me on a previous project, and it worked flawlessly.

1 Like