WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
Form with empty mandatory fields will submit if user only checks the acceptance (1 post)

  1. Marco Marsala
    Member
    Posted 8 months ago #

    Checking only the acceptance checkbox, the form will permit submitting, even if mandatory fields above are all empty.

    I can provide a test case on a real site if you need (please email me for details).

    Description of an example case:
    I have a form with the following fields:
    name (mandatory)
    phone (mandatory)
    date (mandatory)
    acceptance checkbox

    Current behaviour (wrong): If user checks only the acceptance checkbox, leaving blank the name, phone and date fields, and he/she hits the Submit button, the form will submit!

    Expected behaviour (correct): the form must not submit until name, phone, date fields are filled!

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

Reply

You must log in to post.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 8 months ago by Marco Marsala
  • This topic is not resolved
  • WordPress version: 3.5.2