To help maintain consistent and accurate data in your HubSpot account, you can set rules for custom text and number properties. When validation rules are set for a property, users must meet the property's requirements in order to save a value.
For example, you could create an Order Number text property where values can only contain numeric characters, or create a Payment amount number property where values can only contain up to two decimal places.
Please note: validation rules are not currently enforced when setting property values via the HubSpot mobile app, form submissions, imports, or API.
If you have super admin permissions, opt your account into the Property Validations beta to gain access to this functionality. Once your account gains access, a user must have Edit property settings permissions to set validation rules for a property.
In the left sidebar menu, navigate to Properties.
Click the Select an object dropdown menu, then select [Object] properties to create or edit a property for that object.
Learn more about creating and editing properties in HubSpot.