# Validation Rules on Objects

**URL:** <https://community.hubspot.com/t/validation-rules-on-objects/50519>\
**Category:** CRM\
**Tags:** professional\
**Created:** [January 27, 2022, 11:45pm UTC](https://community.hubspot.com/t/validation-rules-on-objects/50519 "2022-01-27T23:45:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![04388](https://avatars.discourse-cdn.com/v4/letter/0/b3f665/32.png) [@04388](https://community.hubspot.com/u/04388)\
**Post date:** [January 27, 2022, 11:45pm UTC](https://community.hubspot.com/t/validation-rules-on-objects/50519/1 "2022-01-27T23:45:33Z")

</div>

I have the requirement to force our team to provide either attachment or link (ideally both) on a record upon creation.

I don’t think we can run validation rules in hubspot, but I want to understand what other avenues the community has taken to enforce fields at specific points of a records journey.

---

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [January 28, 2022, 4:51am UTC](https://community.hubspot.com/t/validation-rules-on-objects/50519/2 "2022-01-28T04:51:10Z")

</div>

Hi @04388 ,  
You can create a custom property ‘File link’ or something and make it a mandatory field while creating the contact. Check this [loom](https://www.loom.com/share/d66c33b8b2c9468ebaaa14f5ec952030) video we created for you.

Hope this helps!

If we were able to answer your query, kindly help the community by marking it as a solution.  
Thanks and Regards.

---

<div class="post-metadata">

**Author:** ![karstenkoehler](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/karstenkoehler/32/68554_2.png) [@karstenkoehler](https://community.hubspot.com/u/karstenkoehler)\
**Post date:** [January 28, 2022, 6:07am UTC](https://community.hubspot.com/t/validation-rules-on-objects/50519/3 "2022-01-28T06:07:22Z")

</div>

Hi @04388,

You can [set properties that appear when creating records](https://knowledge.hubspot.com/crm-setup/set-up-fields-seen-when-manually-creating-records). With a Sales or Service Hub Professional or Enterprise subscription, you can make this field mandatory during manual creation.

Out of the box, there aren’t any ways to check whether this input is valid. A URL would usually be stored in a single-line text field, for example, and it’s not possible to check whether a user simply put in “No URL available”. (You could run a report on the values in this field and simply sort them alphabetically to spot outliers.)

Hope this helps!
