[whatwg] [WF2] |min| and |max| number of selected |option|s

Dear WHAT WG

When using

   <input type=checkbox>

or

   <select multiple>

one somtimes wants to limit the number of selected check boxes or  
options. I have no idea how to model this with |input|, but |select|  
could adopt the |min| and |max| attributes. They would not limit the  
content of |value| but the number of selected |option|s, which is  
similar to what is already specified for file upload controls. A  
common and special case would be setting the same value on both  
attributes to require a certain number of options to be selected.

I'd really like it if someone could come up with a way to make this  
work with |input|, too.

Received on Saturday, 31 May 2008 08:45:22 UTC