WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
[resolved] Acceptance checkbox error message (6 posts)

  1. magaworks
    Member
    Posted 3 years ago #

    First let me thank you for this wonderful plugin. Everything is working just fine in all 3 forms I have in my blog.
    I just have one request (since I am not a programmer I cannot do it myself):
    - When I include an acceptance checkbox, if the person does not check it nothing happens and I can't click de "submit" button. This is very confusing for people. Tehere should be an error message when people click, saying something like "You must accept these terms". Otherwise people just don't understand why they cannot click the submit button.
    I had to take out the acceptance checkbox in my forms and just include a red message so people know that they are accepting the terms and conditions when they hit Submit.
    But I would prefer to have people "check" the checkbox saying they accept those terms.
    Is there a way you can help do the necessary changes so that the acceptance box has an error message instead of just disabling the "submit" button?
    Thanks

    http://wordpress.org/extend/plugins/contact-form-7/

  2. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 3 years ago #

    Maybe you're right. I'll consider adding an option for this to the acceptance tag. Thanks for the suggestion.

  3. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 3 years ago #

    I've implemented this in the development version. You can try this by

    1. Installing the development version (you can find it at the bottom of the list)
    2. And adding this line into the Additional Settings field of contact form settings

    acceptance_as_validation: on

  4. dotwebs
    Member
    Posted 3 years ago #

    Hi Takayuki,

    This is a great plugin. But there is still a problem with the acceptance checkbox. I tried overwriting the version I was using (latest) with the development version and adding the line as you mention in your post, but the form still doesn't offer any validation error for the checkbox, so the user thinks the form isn't working.

    I tried using the regular checkbox option instead of the acceptance one, and making it mandatory, but the same thing happened, form won't submit and there is now error being displayed.

    It is really necessary to get users to accept the terms before submitting, so a fix for this would be greatly appreciated.

    Thanks.

  5. saschapi
    Member
    Posted 3 years ago #

    Unfortunately this solution does not work for me either! Are you sure that simply adding the above line to the additional settings field does the trick?

    Thanks in advance

    Sascha

  6. Rob Cubbon
    Member
    Posted 3 years ago #

    Takayuki Miyoshi's fix for this works for me.

    Contact Form 7 Version 2.4.4 - WP 3.1

    Awesome plug-in!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic