• it’s bugged in current version – it sets every radio button as required, although it is not. so when someone submits the form, it marks every radio button with an error message.
    please fix asap.

    unfortunately i can’t link the website, as i had to go back to an older version to make it work again. but i tested it with a new form as well, happened immediately as soon as i added a radio button.

Viewing 2 replies - 1 through 2 (of 2 total)
  • radio represents a group of radio buttons (<input type=”radio”> in HTML). Note that there is no required version of radio (“radio*”). The reason Contact Form 7 doesn’t provide “radio*” is because a radio button is a required field by nature. The HTML spec document explains it more in detail.

    https://contactform7.com/checkboxes-radio-buttons-and-menus/

    Thread Starter rocky_beach

    (@rocky_beach)

    Sorry, but did you read my question, or read the spec linked in the page you cited?
    I did not set any radio button set as required. Always worked fine.
    The Spec says: “If none of the <INPUT> elements of a set of radio buttons specifies `CHECKED’, then the user agent must check the first radio button of the set initially.”
    So how is that a reason for Contact Form 7 to throw an error since a recent update? Not to mention that this is a change that kills tons of existing forms – without any warning on updating…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Required Fields Bug’ is closed to new replies.