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.

Validation Message for each field and for the whole form

  1. feilamsol
    Member

    Hi,

    I need to change the "There was a problem with your submission. Errors have been highlighted below." and the "This field is required." for each field.

    How can I change that especially the validation message for each field without manually modifying each field? I don't have problems with normal forms but what I'm doing now has almost a hundred fields and I have 2 forms. So can you tell me which file to edit?

    Thanks in advance.

    Posted 11 years ago on Saturday July 6, 2013 | Permalink
  2. feilamsol
    Member

    I found the right file already.
    For those who have the same problem, just edit the form_display.php file. :)

    Posted 11 years ago on Saturday July 6, 2013 | Permalink
  3. Richard Vav
    Administrator

    It is not advisable to edit the plugin files as any changes you make will be lost during plugin updates. To change the main validation message you would use the gform_validation_message filter, the individual field validation messages currently can only be editied on the fields themselves unless you use the gform_field_validation filter to create your own custom validation.

    Posted 11 years ago on Saturday July 6, 2013 | Permalink

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