Title: Custom validation
Last modified: August 22, 2016

---

# Custom validation

 *  [rcorr](https://wordpress.org/support/users/rcorr/)
 * (@rcorr)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/custom-validation-5/)
 * Hello,
 * My custom validation no longer works with Contact Form 7 (4.1).
 * I found this great [code snippet](https://github.com/m0xds/contact-form7-custom-validation/blob/master/cf7-custom-validation.php)
   to use, but when I upgrade Contact Form 7 to version 4.1 from 3.4.2, the custom
   validation no longer worked.
 * After searching the web for custom validation Contact Form 7 (4.1), I came across
   this [page](http://contactform7.com/2015/01/06/contact-form-7-41-beta/), stating
   to modify my validation code, but it doesn’t seem to work.
 * I appreciate any feedback to resolve custom validation with Contact Form 7 version
   4.1.
 * Thanks in advance.

The topic ‘Custom validation’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [rcorr](https://wordpress.org/support/users/rcorr/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/custom-validation-5/)
 * Status: not resolved