Title: Custom validation error message not working
Last modified: July 18, 2022

---

# Custom validation error message not working

 *  [Ricci](https://wordpress.org/support/users/rmintellek/)
 * (@rmintellek)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/custom-validation-error-message-not-working/)
 * I am using this plugin to stop form sends from gmail.com email addresses and 
   have set up a custom Validation error message but the form is still showing the
   default validation error message of “X error”. Is this function working?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcustom-validation-error-message-not-working%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [yonifre](https://wordpress.org/support/users/yonifre/)
 * (@yonifre)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/custom-validation-error-message-not-working/#post-15833929)
 * Are you sure that the “X error” coming From Maspik?
    Can you deactivate the plugin
   and check if it still exists?
 *  Plugin Author [yonifre](https://wordpress.org/support/users/yonifre/)
 * (@yonifre)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/custom-validation-error-message-not-working/#post-15833981)
 * Can you send me please by email the system info from your site?
    In the dashboard-
   > elementor=> System Info and go all the way down to “Copy & Paste Info” and 
   send it to me and then I could check it. yonifre AT Gmail com
 *  Thread Starter [Ricci](https://wordpress.org/support/users/rmintellek/)
 * (@rmintellek)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/custom-validation-error-message-not-working/#post-15834171)
 * Yes I have disabled the plugin and no “X error” message. I also clear the website
   cache everytime I make a change and test. I have emailed the system info to you
   now. Thanks
 *  Plugin Author [yonifre](https://wordpress.org/support/users/yonifre/)
 * (@yonifre)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/custom-validation-error-message-not-working/#post-15834283)
 * Thank you!
    I checking it out
 *  Plugin Author [yonifre](https://wordpress.org/support/users/yonifre/)
 * (@yonifre)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/custom-validation-error-message-not-working/#post-15837575)
 * I updated the plugin (0.7.2), please update and let me know if it’s fixed
    have
   an amazing day =) thanks, Yoni.
 *  Thread Starter [Ricci](https://wordpress.org/support/users/rmintellek/)
 * (@rmintellek)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/custom-validation-error-message-not-working/#post-15837796)
 * I have updated and the error message now reads “An error occurred.” So unfortunately
   we’re still not seeing the custom message I have defined.
 *  Plugin Author [yonifre](https://wordpress.org/support/users/yonifre/)
 * (@yonifre)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/custom-validation-error-message-not-working/#post-15837894)
 * This is the right error, it’s came from Elementor, under the specific input you
   will se the Maspik error message.
    Only if it’s an ip or country block, you will
   not see any other messages

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Custom validation error message not working’ is closed to new replies.

 * ![](https://ps.w.org/contact-forms-anti-spam/assets/icon-128x128.jpg?rev=3115693)
 * [Maspik - Ultimate Spam Protection](https://wordpress.org/plugins/contact-forms-anti-spam/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-forms-anti-spam/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-forms-anti-spam/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-forms-anti-spam/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-forms-anti-spam/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-forms-anti-spam/reviews/)

## Tags

 * [gmail](https://wordpress.org/support/topic-tag/gmail/)
 * [validation](https://wordpress.org/support/topic-tag/validation/)

 * 9 replies
 * 2 participants
 * Last reply from: [yonifre](https://wordpress.org/support/users/yonifre/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/custom-validation-error-message-not-working/#post-15837894)
 * Status: not resolved