# Change Form Field Validation Text

**URL:** <https://community.hubspot.com/t/change-form-field-validation-text/81688>\
**Category:** CMS Development\
**Tags:** enterprise\
**Created:** [May 22, 2023, 10:17am UTC](https://community.hubspot.com/t/change-form-field-validation-text/81688 "2023-05-22T10:17:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![CHutt5](https://avatars.discourse-cdn.com/v4/letter/c/a3d4f5/32.png) [@CHutt5](https://community.hubspot.com/u/CHutt5)\
**Post date:** [May 22, 2023, 10:17am UTC](https://community.hubspot.com/t/change-form-field-validation-text/81688/1 "2023-05-22T10:17:10Z")

</div>

Hi,

I’m trying to edit the text of the form field validation messages but cant find how.

I found this line below from this article: [https://legacydocs.hubspot.com/docs/methods/forms/advanced\_form\_options](https://legacydocs.hubspot.com/docs/methods/forms/advanced_form_options)

```auto
submissionErrors:{ 
MISSING_REQUIRED_FIELDS: "Please fill in all required fields!" 
},

```

But this doesnt work.

Could you let me know how to go about doing this?

Thanks

---

<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:** [May 22, 2023, 9:24pm UTC](https://community.hubspot.com/t/change-form-field-validation-text/81688/2 "2023-05-22T21:24:48Z")

</div>

Hi, @CHutt5 👋 Thanks for your question. I have a few additional questions to help the community better assist you.

- To confirm, this is a HubSpot created using the marketing form builder and is **not** a collected form or lead flow, correct?
- This form is [set as raw HTML](https://knowledge.hubspot.com/forms/how-can-i-share-a-hubspot-form-if-im-using-an-external-site#with-css-in-your-external-stylesheet-marketing-hub-professional-enterprise-or-legacy-marketing-hub-basic-only)?

If so:

- Could you please share more details about how and where you’re trying to implement the `submissionErrors` code?
- You mentioned that the `submissionErrors` code doesn’t work. Could you please share more details about what happens when you try to use it?
- Are there any error messages?
- Could you also share the exact code you’re attempting to use?

Thank you for the additional details! — Jaycee
