MARKETPLACE
PLUGINS
ADVANCED RANDOM NUMBER GENERATOR
Advanced Random Number Generator logo

Advanced Random Number Generator

Published February 2026
   •    Updated this week

Plugin details

Advanced Random Number Generator is a powerful Bubble plugin that generates random numbers while strictly respecting custom rules such as:
minimum and maximum numeric limits

exclusion lists (minus_list)

automatic validation and error handling

The plugin generates numbers with any number of digits, as long as they fall within the defined minimum and maximum range.

It guarantees that the generated number always matches the defined constraints or returns a clear error if it’s impossible to generate a valid result.

✨ Features

🔢 Generates random numbers within a minimum and maximum range

📏 Supports numbers with variable digit lengths (based on min/max)

🚫 Excludes specific numbers using a comma-separated list

🔁 Safe loop with infinite-loop protection

⚡ Instant result via exposed states

📣 Built-in success and error events

🧠 Smart validation of impossible scenarios

🧪 Example

Minimum: 1
Maximum: 1000
Minus list: 2,5,10

✔ Possible results: 1, 15, 99, 250, 991, 1000
❌ Excluded results: 2, 5, 10

⚠️ Error Handling

If the plugin cannot generate a valid number due to invalid or conflicting rules:

the value state is set to -1

the error state contains a descriptive message

the an_error_ocurred event is triggered

Free

For everyone

stars   •   0 ratings
2 installs  
This plugin does not collect or track your personal data.

Other actions

Platform

Web

Contributor details

Ticket Land logo
Ticket Land
Joined 2020   •   46 Plugins
View contributor profile

Instructions

Fill the fields below to generate a controlled random number.
📥 Inputs (Properties)

1) Minimum Value (number – required)

Defines the lowest possible number that can be generated.

Example:

minimum_value = 1

2) Maximum Value (number – required)

Defines the highest possible number that can be generated.

The generated number may have any number of digits, as long as it is between the minimum and maximum values.

Example:

maximum_value = 1000


✔ Possible results: 1, 15, 99, 250, 991, 1000

3) Minus List (text – optional)

A comma-separated list of numbers that must NOT be generated.

Example:

2,3,5,7,9


✔ Spaces are allowed and automatically ignored.

📤 Exposed States

1) Value (number)

The generated random number.

Filled when generation succeeds

Set to -1 when an error occurs

2) Error (text)

Error message describing what went wrong.

Empty when generation succeeds

Filled when an error occurs

📣 Events

1) A random number was successfully generated

Triggered when a valid random number is successfully generated.

2) An error occurred while generating a random number

Triggered when the plugin cannot generate a valid number due to invalid or conflicting rules.

⚠️ Error Handling

The plugin automatically detects situations where:

no valid number exists within the range

minimum value is greater than maximum value

all possible numbers are excluded by the minus list

In these cases:

value is set to -1

error is populated with a descriptive message

an_error_ocurred event is triggered

🚀 Best Practices

Always define both minimum and maximum values

Avoid excluding all possible numbers in the range

Use the success and error events in workflows for clean and safe logic

Types

This plugin can be found under the following types:
Element   •   Event   •   Action

Categories

This plugin can be found under the following categories:

Resources

Support contact
Tutorial

Rating and reviews

No reviews yet

This plugin has not received any reviews.
Bubble