Jump to content

Topic on Talk:HTMLForm

Mhohner (talkcontribs)

I've used the "required" parameter for a checkbox, expecting that this would result in a HTML input element with the "required" attribute set. But this is not the case. Neither is the HTML attribute used, nor is the form checked for a non-empty value (i.a.w., selecting the checkbox is not enforced).

Mhohner (talkcontribs)

Same with type="radio". The "required" parameter has no effect. The user is not forced to select a non-empty option.

Reply to ""required" attribute"