# How can I override default HS validation with JS validation ?

**URL:** <https://community.hubspot.com/t/how-can-i-override-default-hs-validation-with-js-validation/73097>\
**Category:** APIs & Integrations\
**Created:** [January 17, 2023, 6:46pm UTC](https://community.hubspot.com/t/how-can-i-override-default-hs-validation-with-js-validation/73097 "2023-01-17T18:46:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stavares5](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/stavares5/32/197409_2.png) [@stavares5](https://community.hubspot.com/u/stavares5)\
**Post date:** [January 17, 2023, 6:46pm UTC](https://community.hubspot.com/t/how-can-i-override-default-hs-validation-with-js-validation/73097/1 "2023-01-17T18:46:23Z")

</div>

How can I override default HS validation with JS validation ?

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [January 18, 2023, 10:23pm UTC](https://community.hubspot.com/t/how-can-i-override-default-hs-validation-with-js-validation/73097/2 "2023-01-18T22:23:16Z")

</div>

Hey, @stavares5 👋 Thanks for reaching out. Can you provide any additional details for the community? Have you already made an attempt, but it didn’t work as expected?

My experience with the HubSpot community is the more details, steps, code, etc, you provide, the more likely it is they can assist you.

Best,

Jaycee

---

<div class="post-metadata">

**Author:** ![stavares5](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/stavares5/32/197409_2.png) [@stavares5](https://community.hubspot.com/u/stavares5)\
**Post date:** [January 19, 2023, 6:34pm UTC](https://community.hubspot.com/t/how-can-i-override-default-hs-validation-with-js-validation/73097/3 "2023-01-19T18:34:10Z")

</div>

![stavares5_0-1674153223906.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/4/a/4a6a390c13a9af39159e2510b02e1d688903fbd9.png)

Actually, I want to embed a JS code to this page
