[contact-form-7 id="24078" title="Feedback EN"]

Featured templates

Drupal 7.x. How to change form validation messages

This tutorial shows how change form validation messages in Drupal 7.x.

Drupal 7.x. How to change form validation messages

Once you submit the form without filling in all the required fields, you get the error message that field is required.

In order to change the form validation messages, you should do the following:

  1. Log into your hosting cPanel or ftp.

  2. Locate sites/all/themes/themeXXX/js folder.

  3. Open jquery.loader.js file to edit:

    Drupal_7.x.How_to_change_form_required_fields_text_1

  4. Locate Contact form tooltips section of the code and modify the messages:

    Drupal_7.x.How_to_change_form_required_fields_text_2

  5. Save changes in the file.

Feel free to check the detailed video tutorial below:

Drupal 7.x. How to change form validation messages