# Validation Rules

**URL:** <https://community.hubspot.com/t/validation-rules/2664>\
**Category:** HubSpot Ideas\
**Tags:** object\
**Created:** [July 11, 2017, 2:16pm UTC](https://community.hubspot.com/t/validation-rules/2664 "2017-07-11T14:16:33Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![jschroeffel](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jschroeffel/32/240_2.png) [@jschroeffel](https://community.hubspot.com/u/jschroeffel)\
**Post date:** [April 21, 2021, 12:40pm UTC](https://community.hubspot.com/t/validation-rules/2664/21 "2021-04-21T12:40:09Z")

</div>

I was very surprised that Hubspot does not have this ability. When requested during a client call, i assumed for sure this is possible. I assumed incorrectly. This is needed for data cleanliness in an enterprise product. 100% needs to happen.

---

<div class="post-metadata">

**Author:** ![atalwar](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/atalwar/32/14727_2.png) [@atalwar](https://community.hubspot.com/u/atalwar)\
**Post date:** [April 30, 2021, 2:52am UTC](https://community.hubspot.com/t/validation-rules/2664/22 "2021-04-30T02:52:57Z")

</div>

This would be a great feature that could be paired with the deal stage automation settings, such that deals can only be moved to a deal stage when they meet a certain criteria.

---

<div class="post-metadata">

**Author:** ![HDawkins](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/hdawkins/32/77060_2.png) [@HDawkins](https://community.hubspot.com/u/HDawkins)\
**Post date:** [October 11, 2021, 8:54am UTC](https://community.hubspot.com/t/validation-rules/2664/23 "2021-10-11T08:54:42Z")

</div>

Would love to see this too. We are trying to migrate from SF to HS and this is a crucial aspect of the process.

---

<div class="post-metadata">

**Author:** ![dwalczak](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dwalczak/32/89812_2.png) [@dwalczak](https://community.hubspot.com/u/dwalczak)\
**Post date:** [October 27, 2021, 7:26pm UTC](https://community.hubspot.com/t/validation-rules/2664/24 "2021-10-27T19:26:58Z")

</div>

HubSpot rep here!  
Just spoke with a customer who has a specific need to prevent special characters from being entered into a field. With the first name property, for example, it’s possible for someone to insert a malicious URL in the first name field which poses a security threat. By preventing characters such as “.”, this would prevent a behavior like that from occuring.

---

<div class="post-metadata">

**Author:** ![avivkasuto](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/avivkasuto/32/93635_2.png) [@avivkasuto](https://community.hubspot.com/u/avivkasuto)\
**Post date:** [October 27, 2021, 7:29pm UTC](https://community.hubspot.com/t/validation-rules/2664/25 "2021-10-27T19:29:28Z")

</div>

Any update on this idea? this is the biggest flaw of HubSpot IMO.

---

<div class="post-metadata">

**Author:** ![MMetros5](https://avatars.discourse-cdn.com/v4/letter/m/9de053/32.png) [@MMetros5](https://community.hubspot.com/u/MMetros5)\
**Post date:** [January 28, 2022, 3:48pm UTC](https://community.hubspot.com/t/validation-rules/2664/26 "2022-01-28T15:48:14Z")

</div>

This is required

---

<div class="post-metadata">

**Author:** ![DWalker1](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dwalker1/32/53612_2.png) [@DWalker1](https://community.hubspot.com/u/DWalker1)\
**Post date:** [January 31, 2022, 10:15am UTC](https://community.hubspot.com/t/validation-rules/2664/27 "2022-01-31T10:15:23Z")

</div>

I agree and think this would also be valuable. For example a deal close date is never before a a deal creation date so we should be able to put some validation in place to ensure this does not happen.

---

<div class="post-metadata">

**Author:** ![MRebakBA](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mrebakba/32/51304_2.png) [@MRebakBA](https://community.hubspot.com/u/MRebakBA)\
**Post date:** [February 16, 2022, 6:38pm UTC](https://community.hubspot.com/t/validation-rules/2664/28 "2022-02-16T18:38:00Z")

</div>

Again, very surprised to see that this does not exist as ootb functionality in Hubspot. One of a few ‘me too’ features that are critically needed when comparing to SFDC

---

<div class="post-metadata">

**Author:** ![patrick\_kaiser](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/patrick_kaiser/32/99678_2.png) [@patrick\_kaiser](https://community.hubspot.com/u/patrick_kaiser)\
**Post date:** [February 24, 2022, 11:13am UTC](https://community.hubspot.com/t/validation-rules/2664/29 "2022-02-24T11:13:14Z")

</div>

We also miss the possibility to add custom validation rules to properties badly.

Appending a hint in the description field (eg. FORMAT: XX:YY) is not really an option, when external integrations rely on valid data. Users just do not care and they will put anything in if they are allowed to do so 😉

---

<div class="post-metadata">

**Author:** ![hgarcia](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/hgarcia/32/30191_2.png) [@hgarcia](https://community.hubspot.com/u/hgarcia)\
**Post date:** [March 16, 2022, 2:21pm UTC](https://community.hubspot.com/t/validation-rules/2664/30 "2022-03-16T14:21:30Z")

</div>

This can be accommplish with Operations Hub and a workflow. The Format data workflow action enables you to automatically fix, format, and maintain your CRM data. For example, you can use this action to capitalize contact or company names, or calculate values based on properties. Check out this knowledge base to learn more:

[Format your data with Workflows](https://knowledge.hubspot.com/workflows/format-your-data-with-workflows?hubs_post=blog.hubspot.com/customers/the-ultimate-guide-to-operations-hub&hubs_post-cta=data%20quality%20automation&_ga=2.61862767.2138609296.1647267586-689433495.1646152272)

---

<div class="post-metadata">

**Author:** ![Daskinw](https://avatars.discourse-cdn.com/v4/letter/d/e79b87/32.png) [@Daskinw](https://community.hubspot.com/u/Daskinw)\
**Post date:** [July 6, 2022, 3:25pm UTC](https://community.hubspot.com/t/validation-rules/2664/31 "2022-07-06T15:25:05Z")

</div>

@hgarcia your suggestion could work to solve the data formatting use cases but it doesn’t allow you to prevent rep actions based on certain fields being populated (e.g. moving to closed won if x is not null). or am i missing something?

---

<div class="post-metadata">

**Author:** ![megannorris](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/megannorris/32/30191_2.png) [@megannorris](https://community.hubspot.com/u/megannorris)\
**Post date:** [September 2, 2022, 5:20pm UTC](https://community.hubspot.com/t/validation-rules/2664/32 "2022-09-02T17:20:34Z")

</div>

I’d love to be able to block certain phrases from being submitted. Especially when our submissions get published to public slack channels.

---

<div class="post-metadata">

**Author:** ![MSwift](https://avatars.discourse-cdn.com/v4/letter/m/5daacb/32.png) [@MSwift](https://community.hubspot.com/u/MSwift)\
**Post date:** [December 16, 2022, 7:13pm UTC](https://community.hubspot.com/t/validation-rules/2664/33 "2022-12-16T19:13:04Z")

</div>

Need field validation in forms! We have too many people skipping the website URL by just inputting a single letter -- huge mess to deal with

---

<div class="post-metadata">

**Author:** ![Paula](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/paula/32/22074_2.png) [@Paula](https://community.hubspot.com/u/Paula)\
**Post date:** [April 13, 2023, 8:10am UTC](https://community.hubspot.com/t/validation-rules/2664/34 "2023-04-13T08:10:53Z")

</div>

I was also surprised to find that you can set limits on properties (eg: character limitations and restrictions), but they do not apply to form submissions. So if your use case is setting character limitations for visitors answering things in forms, this function is completely useless.

---

<div class="post-metadata">

**Author:** ![AMexicotte](https://avatars.discourse-cdn.com/v4/letter/a/e9bcb4/32.png) [@AMexicotte](https://community.hubspot.com/u/AMexicotte)\
**Post date:** [May 15, 2023, 8:36pm UTC](https://community.hubspot.com/t/validation-rules/2664/35 "2023-05-15T20:36:39Z")

</div>

Can we get a response from Hubspot on why, 6 years after this post, that this basic functionality to improve CRM data quality still doesn’t even have a response? This is an incredibly basic feature that is going to have customers fleeing to your competitors. I just joined a new company that already had Hubspot and I’m definitely going to be suggesting switching just because of this limitation.

---

<div class="post-metadata">

**Author:** ![hgarcia](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/hgarcia/32/30191_2.png) [@hgarcia](https://community.hubspot.com/u/hgarcia)\
**Post date:** [May 15, 2023, 8:53pm UTC](https://community.hubspot.com/t/validation-rules/2664/36 "2023-05-15T20:53:20Z")

</div>

The two ideas from the original post are both doable within the HubSpot platform. The first use case can be done with [Operations Hub](https://knowledge.hubspot.com/contacts/manage-property-format-issues) + the second use case is also doable. More on that [here](https://knowledge.hubspot.com/crm-setup/set-up-fields-seen-when-manually-creating-records)and [here](https://knowledge.hubspot.com/crm-setup/set-validation-rules-for-properties). Hope this helps!

---

<div class="post-metadata">

**Author:** ![AMexicotte](https://avatars.discourse-cdn.com/v4/letter/a/e9bcb4/32.png) [@AMexicotte](https://community.hubspot.com/u/AMexicotte)\
**Post date:** [May 15, 2023, 9:15pm UTC](https://community.hubspot.com/t/validation-rules/2664/37 "2023-05-15T21:15:16Z")

</div>

@hgarcia I’m looking for more than basic validations. I want certain properties to be required to fill out when entering or exiting certain stages. It looks like all we can do with validations is character limits or restricting the types of values that can be put into the field.

---

<div class="post-metadata">

**Author:** ![DAntonelli](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dantonelli/32/48165_2.png) [@DAntonelli](https://community.hubspot.com/u/DAntonelli)\
**Post date:** [February 2, 2024, 2:44pm UTC](https://community.hubspot.com/t/validation-rules/2664/38 "2024-02-02T14:44:33Z")

</div>

This is urgently needed!

---

<div class="post-metadata">

**Author:** ![MrShaneJensen](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mrshanejensen/32/65396_2.png) [@MrShaneJensen](https://community.hubspot.com/u/MrShaneJensen)\
**Post date:** [February 5, 2026, 7:54pm UTC](https://community.hubspot.com/t/validation-rules/2664/39 "2026-02-05T19:54:37Z")

</div>

Definitely need this, and the ability to check other Properties. Some Examples:  
State Property - If the Country is USA require only 2 characters  
Inactive Reason Property - if Inactive = True, Reason is required.

Also, the ability to check across Objects.

Require an associated Contact and/or Company to have a valid Address before Closing a Deal.

---

<div class="post-metadata">

**Author:** ![KMcAuliffe](https://avatars.discourse-cdn.com/v4/letter/k/57b2e6/32.png) [@KMcAuliffe](https://community.hubspot.com/u/KMcAuliffe)\
**Post date:** [October 26, 2026, 3:56pm UTC](https://community.hubspot.com/t/validation-rules/2664/41 "2026-10-26T15:56:54Z")

</div>

A year into being a full time hubspot admin, I’d say the lack of general purpose, logic-based validation rules is probably the biggest problem on the platform. As you build out processes and workflows in a CRM, you need the ability to **enforce** those processes, and validation rules are essential for this. As it stands, we have to build out a ton of “data integrity” dashboards to find all the mistakes people have made when working in hubspot. Validation rules are like guardrails that help users stay on course as they try to navigate the CRM. They are necessary to build a robust system that can provide consistent, reliable data.

[Previous page](https://community.hubspot.com/t/validation-rules/2664.md?page=1)
