PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Changing validation message

  1. Hi,
    1. How do ichange this text to my own?
    "There was a problem with your submission. Errors have been highlighted below."
    2. How do i change the default validation massage?
    Thanks!

    Posted 12 years ago on Wednesday April 18, 2012 | Permalink
  2. This should help you out:

    http://www.gravityhelp.com/documentation/page/Gform_validation_message

    Posted 12 years ago on Wednesday April 18, 2012 | Permalink
  3. PCN
    Member

    Hi,

    I love gravity forms, but all I want to do is change the error message on the form validation, I have a good understanding of html and a small understanding of php, but to change a line of text feels like I need to be a qualified coder, why is this so difficult to change. Could it not be possible to put the error message in the form settings?

    Anyway, in the meantime, could you please explain what I have to do with the code found here http://www.gravityhelp.com/documentation/page/Gform_validation_message

    Posted 11 years ago on Friday July 13, 2012 | Permalink
  4. David Peralty

    Under the advanced tab for most fields, you can change the validation message.

    The code in examples such as that goes in your theme's functions.php file.
    http://www.gravityhelp.com/documentation/page/Where_Do_I_Put_This_Code%3F

    Posted 11 years ago on Friday July 13, 2012 | Permalink
  5. PCN
    Member

    Hi David,

    I appreciate the very quick reply, but I'm looking to change the form validation message 'There was a problem with your submission. Errors have been highlighted below' rather than a field validation message.

    Posted 11 years ago on Friday July 13, 2012 | Permalink
  6. David Peralty

    Yeah, to change the main one, you need to use the hook that was linked before:
    http://www.gravityhelp.com/documentation/page/Gform_validation_message

    You will want to put it in your functions.php file.

    Posted 11 years ago on Friday July 13, 2012 | Permalink
  7. PCN
    Member

    Thanks David, got it working now.

    Posted 11 years ago on Friday July 13, 2012 | Permalink
  8. Thanks for the update Dave.

    Posted 11 years ago on Sunday July 15, 2012 | Permalink

This topic has been resolved and has been closed to new replies.