Allow Exact Digit Validation for Numeric Properties

Status: Alternative Solution

Status history

It would be extremely helpful to have a way to enforce an exact number of digits for numeric properties, not just character limits or value ranges.
For example, a business might collect membership IDs, employee numbers, or invoice references that are always exactly 8 digits long (e.g. 00123456).
These aren’t just numbers — they follow strict formats.

Currently:

  • We can enable “numbers only” validation
  • We can set min/max values (e.g., 10000000–99999999)
    But that doesn’t guarantee exactly 8 digits (e.g., 1234567 still passes, and error messages can be misleading)

In the property settings, allow us to define:

  • “Must be exactly X digits”
  • Or more flexible rules like “Minimum digits: X” / “Maximum digits: Y”

Hi @DEmmanuel, have you tried using the AI-assisted "Generate Regex" button on Property Rules page of your existing property? The button will appear if you select Validate using regular expressions (regex). You can enter a prompt that describes the validation rules you’d like applied to the property.

Let me know once you’ve had a chance to try this.

Cheers,
Jeannie

Empty