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

Christoph P?per wrote:
> Dear WHAT WG
> 
> When using
> 
>   <input type=checkbox>
> 
> or
> 
>   <select multiple>
> 
> one somtimes wants to limit the number of selected check boxes or 
> options.

Could you provide some examples of some sites that need to apply such 
limits, and show how people are currently achieving this?

Are there sites that use JavaScript to achieve this now, perhaps by 
listening for click events on the checkboxes, counting how many are 
checked and then preventing too many being checked.  Or are there sites 
that count how many are checked onsubmit to ensure there aren't too few 
or too many?

-- 
Lachlan Hunt - Opera Software
http://lachy.id.au/
http://www.opera.com/

Received on Wednesday, 11 June 2008 05:08:10 UTC