# Validation message should not be displayed by default

**URL:** <https://community.hubspot.com/t/validation-message-should-not-be-displayed-by-default/70363>\
**Category:** APIs & Integrations\
**Created:** [December 1, 2022, 1:33pm UTC](https://community.hubspot.com/t/validation-message-should-not-be-displayed-by-default/70363 "2022-12-01T13:33:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![APlennevaux](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/aplennevaux/32/197064_2.png) [@APlennevaux](https://community.hubspot.com/u/APlennevaux)\
**Post date:** [December 1, 2022, 1:33pm UTC](https://community.hubspot.com/t/validation-message-should-not-be-displayed-by-default/70363/1 "2022-12-01T13:33:47Z")

</div>

We have a single “required” email field newsletter subscription form.

> **[App Store Marketing Blog](https://www.apptweak.com/en/aso-blog)**
>
> Discover our ASO & Mobile Growth blog: insights, best practices, industry updates, tips & tricks, our latest features, and company announcements.

Right now, the “Please complete this required field.” validation message is displayed by default, whether the user has chosen to use the form or not.

How can I change the behaviour of the form in order that the message only appears on the onkeyup event of the email input field ?

---

<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:** [December 1, 2022, 5:37pm UTC](https://community.hubspot.com/t/validation-message-should-not-be-displayed-by-default/70363/2 "2022-12-01T17:37:48Z")

</div>

Hi, @APlennevaux 👋 Thanks for reaching out! Hey, @Teun @stefen, can you lend any insight or experience here? Thank you! — Jaycee

---

<div class="post-metadata">

**Author:** ![stefen](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/stefen/32/29274_2.png) [@stefen](https://community.hubspot.com/u/stefen)\
**Post date:** [December 1, 2022, 9:17pm UTC](https://community.hubspot.com/t/validation-message-should-not-be-displayed-by-default/70363/3 "2022-12-01T21:17:02Z")

</div>

@APlennevaux that only happens after a change to the input occurs. You probably have an email validation script running that is changing the value of that input which is triggering the HubSpot validation script to show that message. Do you have any global scripts validating emails on your site?

---

<div class="post-metadata">

**Author:** ![APlennevaux](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/aplennevaux/32/197064_2.png) [@APlennevaux](https://community.hubspot.com/u/APlennevaux)\
**Post date:** [December 2, 2022, 1:48pm UTC](https://community.hubspot.com/t/validation-message-should-not-be-displayed-by-default/70363/4 "2022-12-02T13:48:58Z")

</div>

Thank you, that was exactly that! There was leftover code from our previous contact form that was interfering. Thank you!

---

<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:** [December 2, 2022, 4:34pm UTC](https://community.hubspot.com/t/validation-message-should-not-be-displayed-by-default/70363/5 "2022-12-02T16:34:21Z")

</div>

Thank you, @stefen 🙌
