How To Enable Contact Form 7 Acceptance Checkbox Error Message

If you’re using Contact form 7 plugin on your WordPress-powered site and have integrated the acceptance ” form tag but no error message displays whenever a user fails to check the box, this tutorial is for you.

By default, due to JavaScript magic, users won’t be able to press the submit button without first checking the box to accept your terms. Clicking the “Send” button won’t work and no error message will be displayed. This is simply because an acceptance checkbox is a different mechanism than general input validation, and it runs after all validation succeeds.

This behaviour of the acceptance checkbox might confuse some form submitters. Hence, it’s highly recommended that you set it up in a way that will let the users know why the message won’t fly.

So, How Do I Make It Work Like Other Validation?

==> Sign in to your WordPress dashboard
==> Go to “Contacts”
==> Click “edit” next to the contact form you want to modify
==> Add this line below, to the Additional Settings section:

acceptance_as_validation: on

==> Click “Save”.

That’s all.

Try using your form without checking the acceptance box. It should display something similar to the screenshot below:

I hope this helps.

Recommended: How I Use Free Contact Form 7 Plugin For WordPress Blogs

Related Posts

See also :   How To Show Related Posts With Thumbnails In Wordpress Sidebar
Spread the love :

Written by jidetheblogger

Pro Nigerian Blogger, Digital Marketer and Web designer. I help business owners to grow their businesses online. You can join my Facebook Group here.

6 Comments

Leave a Reply
  1. I got no error messages what so ever on any field, just a red border around the fields, very uninformative. Tried all sort of fixing involving css in the theme.

Leave a Reply

We're glad you have chosen to leave a comment. Please keep in mind that comments are moderated according to our comment policy. Your email address is required but will not be published. No keyword stuffing in the name field and commenting from blah blah blah makes no sense. Thank You.

  • Right Now, You Can Get .com.ng Domain Name For ₦499Learn More
  • You can now convert airtime to cash in NigeriaLearn More
  • Forum Alert
    You Can Now Post Questions and Tutorials at Our Forum.Learn More

How To Get DNS Zone File for Godaddy Blogger DNS Set Up

How To Add Default Featured Image To WordPress Posts and Categories