Custom Text / CSS the form notifications

I must custom css the form notifications with for exaple
replace with “Name Required”
“Phone Required”
“We Need Your Zip Code For Service Area Requests”

What do I need to do in Custom Attributes or code to adjust these notifications?

image

image

1 Like

@miekwave I found that you can change the default validation method by adding the following javascript function to the ‘oninvalid’ attribute:

this.setCustomValidity(‘Hello World’)

Here’s my video showing how to do it - https://www.useloom.com/share/01874fd56bf641c5b16c1fa4d4d4ff84

Here’s how it should look on your input:
45%20PM

Hope that helps!

2 Likes

Wow this works thank you!