# Validation rule not working

**URL:** <https://community.hubspot.com/t/validation-rule-not-working/85348>\
**Category:** HubSpot Ideas\
**Tags:** properties\
**Created:** [July 14, 2023, 8:48am UTC](https://community.hubspot.com/t/validation-rule-not-working/85348 "2023-07-14T08:48:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![GRajput](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/grajput/32/102020_2.png) [@GRajput](https://community.hubspot.com/u/GRajput)\
**Post date:** [July 14, 2023, 8:48am UTC](https://community.hubspot.com/t/validation-rule-not-working/85348/1 "2023-07-14T08:48:29Z")

</div>

Hi Community,

If we use a validation rule while creating a custom property like it should not allow special characters, then it doesnot works when using the same field on a form and it accepts the special characters, while if we are manually creating a record then it shows the error message that special characters not allowed.

---

<div class="post-metadata">

**Author:** ![eterobby](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/eterobby/32/63860_2.png) [@eterobby](https://community.hubspot.com/u/eterobby)\
**Post date:** [July 26, 2023, 3:32pm UTC](https://community.hubspot.com/t/validation-rule-not-working/85348/2 "2023-07-26T15:32:00Z")

</div>

See [https://community.hubspot.com/t5/HubSpot-Ideas/Forms-with-a-special-characters-check/idi-p/533997](https://community.hubspot.com/t5/HubSpot-Ideas/Forms-with-a-special-characters-check/idi-p/533997)
