Checkbox fields are not grouped by "name" attribute.

Created on 20 February 2017, over 7 years ago
Updated 29 May 2023, over 1 year ago

Hi,

Why checkbox name attributes are not grouped whereas it is done for radio type. Is there is any specific reason.?

Checkbox Type - HTML Struct

Radio Type - HTML Struct

And as of HTML Standard there is no need of "required" attribute for fieldset tag. Rather it should be a part of 1st item of the input tag of type "checkbox". This will be a flaw in the case of using "jQuery validation plugin".

🐛 Bug report
Status

Closed: works as designed

Version

11.0 🔥

Component
Form 

Last updated less than a minute ago

Created by

🇮🇳India Anishnirmal

Live updates comments and jobs are added and updated live.
  • Accessibility

    It affects the ability of people with disabilities or special needs (such as blindness or color-blindness) to use Drupal.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇨🇦Canada mgifford Ottawa, Ontario

    I think it's more that there's just one option for radio buttons, but more than one for checkboxes.

    Radios provide a yes/no option, right? No grouping is required.

Production build 0.71.5 2024