[whatwg] default select item that does not satisfy required attr.

Ric Hardacre whatwg at cycloid.f9.co.uk
Fri Feb 24 01:32:32 PST 2006



Ric Hardacre wrote:
> from the web forms doc in the comment at the bottom:
> 
>   * have a way of marking the first option of a <select> as the default
>     but have it not satisfy a new required="" attribute on <select> so
>     that you can have selects that require a valid value.
> 
> 
> 
> my proposed solution:
> 

whoops, i bashed out my markup examples quickly and totally fooed up 
some of it, specifically i should have <optgroup label="text">, but 
anyway, they were supposed to demonstrate the "default" semantic, also 
if a better word can be used than "default" for the option flag then so 
be it.

ric



More information about the whatwg mailing list