[whatwg] required attribute for checkbox/select

Matt Wright mw at mattwright.com
Mon Mar 21 19:01:36 PST 2005


Matthew Thomas wrote:
> Because real-world graphical Web browsers use option menus to 
> implement <select>, and your proposal is not how real-world
> people expect option menus to work.

You're absolutely right and I wasn't think about it from that
perspective.  It makes no sense for a user to see a required
error message when an option in the menu has clearly been
selected. I retract my suggestion to have 'required' apply
to select.

Matt Wright




More information about the whatwg mailing list