[whatwg] [WF2] <select required>

On Wed, 04 Oct 2006 02:32:27 +0200, Simon Pieters <zcorpan at hotmail.com>
wrote:

> Then don't mark the select as being required. Or do you mean that there  
> are cases where the user has to change the value to ""? What would that  
> be?

One case could be that an old web application is configured serverside to
interpret an empty value as "none of the above". For the author, it would
be risky to change this as opposed to just slapping on some added
functionality for modern browsers on the client side.


> So should there be a declarative way to express this?

I say yes, but I think "pattern" is a better candidate than "required", or
as Joao Eiras suggested, marking certain options as "invalid" - or all
of the above.


- Robert Gr?sdal

Received on Tuesday, 3 October 2006 18:06:02 UTC