Change Form Field Validation Text

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

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

Hi, @CHutt5 :waving_hand: 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?

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