Support » Plugin: Contact Form 7 » Validation for text only in Contact form7

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi Donrhummy,

    Thanks for the suggestion, but the exact problem now is, I am using a wp plugin called as Jquery Validation for Contact form 7, now this plugin helps me to validate the phone fields as well as other fields just by installing the plugin, but the plugin doesn’t have a code to validate a name field for characters only. Since I am using this plugin, the code in this link wont work even after altering.

    Do suggest me if any other options are available for the same…

    You can use both. Simply add a filter for the one I posted (it explains how in the article) and it’ll call both that and your jquery one. BTW, there is one error in the article: it needs to return the result (see the comments in that article).

    Hi donrhummy,

    Did all the things as per the article, added filters in the theme’s function.php file. Also corrected the error of returning the result at the end, but due to some conflicts with the Jquery validation plugin this function won’t trigger, when I deactivate the validation plugin this function works fine so there are some conflicts happening which I am unable to resolve.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Validation for text only in Contact form7’ is closed to new replies.