# Allow Exact Digit Validation for Numeric Properties

**URL:** <https://community.hubspot.com/t/allow-exact-digit-validation-for-numeric-properties/137498>\
**Category:** HubSpot Ideas\
**Tags:** forms, properties\
**Created:** [August 5, 2025, 6:14pm UTC](https://community.hubspot.com/t/allow-exact-digit-validation-for-numeric-properties/137498 "2025-08-05T18:14:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DEmmanuel](https://avatars.discourse-cdn.com/v4/letter/d/8e7dd6/32.png) [@DEmmanuel](https://community.hubspot.com/u/DEmmanuel)\
**Post date:** [August 5, 2025, 6:14pm UTC](https://community.hubspot.com/t/allow-exact-digit-validation-for-numeric-properties/137498/1 "2025-08-05T18:14:29Z")

</div>

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”
