Skip to content

Documentation

Extensive Documentation for PowerPack & WooPack to help you with common questions and issues.

PowerPack

  1. Home
  2. Docs
  3. PowerPack
  4. Modules
  5. Contact Form
  6. How to change Validation Messages in the Contact Form module?

How to change Validation Messages in the Contact Form module?

You can change Validation messages in the Contact Form module by adding the below-mentioned code in your current theme’s functions.php file.

Here is the list of messages with their key codes:

Suppose you want to change the Validation Message for the name, then you need to enter the below-mentioned code to your current theme’s functions.php file:

Here are the screenshots that will better explain how changing validation message looks after adding the above code to the site:

Before:

Before adding Custom Code
Before adding Custom Code

After:

After adding Custom Code
After adding Custom Code
Was this article helpful to you? Yes No

How can we help?

Celebrating PowerPack's 5th Anniversary. Get 30% OFF on all purchases & upgrades. Use HBD30 coupon code.

×