# Mandatory formatting

**URL:** <https://community.hubspot.com/t/mandatory-formatting/121379>\
**Category:** Data Hub\
**Tags:** format-data-actions\
**Created:** [November 26, 2024, 10:42am UTC](https://community.hubspot.com/t/mandatory-formatting/121379 "2024-11-26T10:42:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![EVatsev](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/evatsev/32/105783_2.png) [@EVatsev](https://community.hubspot.com/u/EVatsev)\
**Post date:** [November 26, 2024, 10:42am UTC](https://community.hubspot.com/t/mandatory-formatting/121379/1 "2024-11-26T10:42:41Z")

</div>

Hi,

I have a lot of formatting issues in my portal when it comes to contacts. Example, first and last name are .. (usually created from imports), email address as name, descriptive names (finance team of X company) and many more.

Is there a way to set the mandatory formattin so that the first and last name is required? Then, that these fields can’t contain @ so it can’t be an email etc?

Thanks!

---

<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:** [November 26, 2024, 10:50am UTC](https://community.hubspot.com/t/mandatory-formatting/121379/2 "2024-11-26T10:50:42Z")

</div>

Hi @EVatsev,

Yes, you can set validation rules for (some of these) properties, see here: [Set validation rules for a property](https://knowledge.hubspot.com/properties/set-validation-rules-for-properties)

Keep in mind that these will not apply retroactively, only when the field is edited the next time.

Best regards

---

<div class="post-metadata">

**Author:** ![EVatsev](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/evatsev/32/105783_2.png) [@EVatsev](https://community.hubspot.com/u/EVatsev)\
**Post date:** [November 26, 2024, 12:53pm UTC](https://community.hubspot.com/t/mandatory-formatting/121379/3 "2024-11-26T12:53:10Z")

</div>

Thanks, @karstenkoehler! This helps a lot!
