Change default Validation Error message

When I hit an error on the form, I get the following message:

"There was a problem with your submission. Errors have been highlighted below"

I have tried to change this text by overriding it in my theme’s functions.php and even manually editing the plugin’s form_display.php but no success.

Can I change in GF in the backend or even the database?

Thank you

Hi Michael,

When you say you’ve tried overriding this text in functions.php, have you been following the information provided in the gform_validation_message docs? You should be able to change the message for all forms, or to target a specific form in order to override its default validation message.

This will be the best way to modify that output. Generally, it’s not recommended that you change the plugin files directly, as those changes will get lost next time the plugin gets updated.

Hopefully that helps. If you’re still stuck, feel free to share a snippet of the code you’re using and we can help you troubleshoot.

1 Like