# 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:** 1

<div class="post-metadata">

**Author:** ![amyheng](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/amyheng/32/87988_2.png) [@amyheng](https://community.hubspot.com/u/amyheng)\
**Post date:** [July 11, 2017, 2:16pm UTC](https://community.hubspot.com/t/validation-rules/2664/1 "2017-07-11T14:16:33Z")

</div>

Hi everyone,

I would like to suggest that HubSpot’s CRM/Sales platform require validations for fields.

For example, my company wants to setup a validation rule so that a company name must start with a capital letter, or emails and first/last names must be required when creating new contacts.

Thanks.

---

<div class="post-metadata">

**Author:** ![stowers](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/stowers/32/99678_2.png) [@stowers](https://community.hubspot.com/u/stowers)\
**Post date:** [August 30, 2017, 1:28pm UTC](https://community.hubspot.com/t/validation-rules/2664/2 "2017-08-30T13:28:06Z")

</div>

I agree - this should also carryover from form field entries, prompting an error code if a submitter enters specific field data as lower-case. For example, if we would like all first and last name and company names entered with the first letter capitalized, the submitter should not be able to submit the form until the error is fixed.

---

<div class="post-metadata">

**Author:** ![ck3000](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ck3000/32/29892_2.png) [@ck3000](https://community.hubspot.com/u/ck3000)\
**Post date:** [October 19, 2017, 3:22pm UTC](https://community.hubspot.com/t/validation-rules/2664/3 "2017-10-19T15:22:11Z")

</div>

You should be able to create validation rules based on certain perameters. For instance, in order for a deal stage to be “won” certain properties cannot be blank.

ex. Property value cannot be blank if deal stage = won - throw error message when saving the record.

---

<div class="post-metadata">

**Author:** ![Lars\_Krueger](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/lars_krueger/32/24038_2.png) [@Lars\_Krueger](https://community.hubspot.com/u/Lars_Krueger)\
**Post date:** [January 1, 2018, 4:41pm UTC](https://community.hubspot.com/t/validation-rules/2664/4 "2018-01-01T16:41:21Z")

</div>

Like validation rules by Salesforce, this feature will save the data quality for the whole org!

---

<div class="post-metadata">

**Author:** ![IC](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ic/32/43872_2.png) [@IC](https://community.hubspot.com/u/IC)\
**Post date:** [April 16, 2018, 9:48am UTC](https://community.hubspot.com/t/validation-rules/2664/5 "2018-04-16T09:48:33Z")

</div>

Validation rules for postal codes would be also great, so that users are only able to use numbers and no letters in the field and only a litmited amout of digits.

---

<div class="post-metadata">

**Author:** ![cristianneelyg](https://avatars.discourse-cdn.com/v4/letter/c/f475e1/32.png) [@cristianneelyg](https://community.hubspot.com/u/cristianneelyg)\
**Post date:** [June 4, 2018, 7:54pm UTC](https://community.hubspot.com/t/validation-rules/2664/6 "2018-06-04T19:54:30Z")

</div>

This would ve very helpful and a really big feature that adds value for Hubspot users. There could be many cases when several people is creating contacts and companies, so rules for data validations can ensure Data Quality and make the data bases more useful and valuable for the long term. Please consider this along with the possibility of creating unique values.

---

<div class="post-metadata">

**Author:** ![carlosalbertoq](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/carlosalbertoq/32/44643_2.png) [@carlosalbertoq](https://community.hubspot.com/u/carlosalbertoq)\
**Post date:** [July 13, 2018, 9:22pm UTC](https://community.hubspot.com/t/validation-rules/2664/7 "2018-07-13T21:22:48Z")

</div>

This is a great idea, maybe you can use a regular expresions generator.

---

<div class="post-metadata">

**Author:** ![Martina\_15](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/martina_15/32/43872_2.png) [@Martina\_15](https://community.hubspot.com/u/Martina_15)\
**Post date:** [September 7, 2018, 4:26am UTC](https://community.hubspot.com/t/validation-rules/2664/8 "2018-09-07T04:26:17Z")

</div>

Any update about this?

---

<div class="post-metadata">

**Author:** ![skblase](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/skblase/32/32521_2.png) [@skblase](https://community.hubspot.com/u/skblase)\
**Post date:** [October 1, 2018, 9:02pm UTC](https://community.hubspot.com/t/validation-rules/2664/9 "2018-10-01T21:02:31Z")

</div>

Any updates on this?

---

<div class="post-metadata">

**Author:** ![JPowell1](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jpowell1/32/68963_2.png) [@JPowell1](https://community.hubspot.com/u/JPowell1)\
**Post date:** [October 29, 2018, 12:36pm UTC](https://community.hubspot.com/t/validation-rules/2664/10 "2018-10-29T12:36:55Z")

</div>

Would love this to help manage pipeline process.

---

<div class="post-metadata">

**Author:** ![Mahalakshmi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mahalakshmi/32/92090_2.png) [@Mahalakshmi](https://community.hubspot.com/u/Mahalakshmi)\
**Post date:** [November 13, 2018, 6:14am UTC](https://community.hubspot.com/t/validation-rules/2664/11 "2018-11-13T06:14:12Z")

</div>

This would be best idea when hubspot provides validation for individual fileds like firstname,lastname(it accepts only characters and of fixed length,no special characters are not allowed) would provide better convenience to the user

---

<div class="post-metadata">

**Author:** ![jmitchell](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jmitchell/32/42154_2.png) [@jmitchell](https://community.hubspot.com/u/jmitchell)\
**Post date:** [May 31, 2019, 4:21pm UTC](https://community.hubspot.com/t/validation-rules/2664/12 "2019-05-31T16:21:06Z")

</div>

Validation options for custom properties would be excellent.

---

<div class="post-metadata">

**Author:** ![jontaylor](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jontaylor/32/33328_2.png) [@jontaylor](https://community.hubspot.com/u/jontaylor)\
**Post date:** [June 12, 2019, 12:27am UTC](https://community.hubspot.com/t/validation-rules/2664/13 "2019-06-12T00:27:33Z")

</div>

This would be a solid addition. I’m new to HubSpot and this would be great to better manage opportunities and lead quality.

Thanks!

---

<div class="post-metadata">

**Author:** ![adriansprake](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/adriansprake/32/35926_2.png) [@adriansprake](https://community.hubspot.com/u/adriansprake)\
**Post date:** [February 7, 2020, 4:20pm UTC](https://community.hubspot.com/t/validation-rules/2664/14 "2020-02-07T16:20:20Z")

</div>

Yes, we would certainly be interested in this functionality, as currently we spend a reasonable amount of time stripping bad quality data from our HubSpot accounts.

---

<div class="post-metadata">

**Author:** ![jhuang](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jhuang/32/53869_2.png) [@jhuang](https://community.hubspot.com/u/jhuang)\
**Post date:** [May 28, 2020, 6:18pm UTC](https://community.hubspot.com/t/validation-rules/2664/15 "2020-05-28T18:18:29Z")

</div>

Where are we with any updates on this?

---

<div class="post-metadata">

**Author:** ![DavidYounger](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/davidyounger/32/38459_2.png) [@DavidYounger](https://community.hubspot.com/u/DavidYounger)\
**Post date:** [August 18, 2020, 4:48am UTC](https://community.hubspot.com/t/validation-rules/2664/16 "2020-08-18T04:48:31Z")

</div>

I would like saving rules so that I can stop a user saving a ticket if certain conditions are met.

I can set up all the conditions in the workflow that I need but there is no option to stop them saving if the rules arent met.

Much like the inbuilt status code changes which pop up a windo3ws stopping you changing the status if some rules are not met, similarly I would like this popup when saving the ticket if certain rules are not met.

Cheers

David

---

<div class="post-metadata">

**Author:** ![RDAMA](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/rdama/32/74736_2.png) [@RDAMA](https://community.hubspot.com/u/RDAMA)\
**Post date:** [August 28, 2020, 6:07pm UTC](https://community.hubspot.com/t/validation-rules/2664/17 "2020-08-28T18:07:35Z")

</div>

I am surprised that this feature is not there yet and is still in an idea stage. I was trying to get some validation for fields that are being changed during deal stage changes. I wanted to make a few properties mandatory and also some validation. For e.g. for moving out of deal stage into “Appointment Scheduled” I want the user to put an Appointment Date. I also want to check to see that date is a) in the future and b) not too far in the future. Without validation they can either make a mistake or put garbage in.

One of the main concerns that I am having to address as I am putting this together for my company is data quality. People are so focused on -- we don’t want the data quality to suffer over time and we know people make mistakes that accumulate over time and makes things useless. So our solution has been to simplify and use only the basic hubspot functionality and not any of the advanced or newer features (which frankly are interesting and useful); just because we felt we are setting up our user base to make errors. So we are just avoiding using any hubspot advanced features. We are looking it and nope while is a great feature -- do not implement as somone can do it incorrectly and mess things up.

---

<div class="post-metadata">

**Author:** ![dave-ops](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dave-ops/32/99730_2.png) [@dave-ops](https://community.hubspot.com/u/dave-ops)\
**Post date:** [September 9, 2020, 5:01pm UTC](https://community.hubspot.com/t/validation-rules/2664/18 "2020-09-09T17:01:43Z")

</div>

I’ll add a use case for creating logic-based validations in HubSpot. Example: We have a custom property named “Subscription Start Date”. If the Subscription Start Date a sales person enters on a Deal record is less than the (Deal) Close Date + 30, we would like to prompt the user with “You must enter a Subscription Start Date that is more than 30 days after the Close Date”.

---

<div class="post-metadata">

**Author:** ![LBrigg](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/lbrigg/32/97852_2.png) [@LBrigg](https://community.hubspot.com/u/LBrigg)\
**Post date:** [January 10, 2021, 6:16pm UTC](https://community.hubspot.com/t/validation-rules/2664/19 "2021-01-10T18:16:17Z")

</div>

as a long time salesforce user the lack of validation rules is starting to become a real annoyance. I would like to make sure that my SDRs do not change change stage from new to working unless they filled in company type (customer or partner). And so many other validation rules which are needed to kee CRM hygene. Like enforce time zone and make sure company is created. Ugh. This is so basic.

---

<div class="post-metadata">

**Author:** ![TBucciarelli](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tbucciarelli/32/58551_2.png) [@TBucciarelli](https://community.hubspot.com/u/TBucciarelli)\
**Post date:** [March 30, 2021, 8:50pm UTC](https://community.hubspot.com/t/validation-rules/2664/20 "2021-03-30T20:50:14Z")

</div>

Validation helps prevent subpar data. garbage in / garbage out… Validation rules can be complicated no doubt, but some of the simpler ones seem pretty standard these days.

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